Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can I remove characters after a specific symbol?


I need to format our product codes so that :

4233702/1001100

EN42343EX/1013100

Become:

4233702

EN42343EX

Removing everything after the forward slash. Can I do this via Qlikview scripting?

1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

Left(FieldName, Index(FieldName, '/') - 1)

HIC

View solution in original post

5 Replies
hic
Former Employee
Former Employee

Left(FieldName, Index(FieldName, '/') - 1)

HIC

Not applicable
Author

Many thanks Henric. Worked a treat

Uri
Creator
Creator

Tack Henrik! (Thank you)

Bionic
Contributor
Contributor

Hi, What if I need to keep rest text after the email e.g.

Original  Text : My Email is Tim.Kimball@amazon.com. Please Contact.

Desire Replace Text: My Email is Tim.Kimball****. Please Contact.

thestaffsolutions
Contributor
Contributor

Thanks, needed the exact same thing 😁