Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
jmonroe918
Creator II
Creator II

Strip Away Extra Character

How do you strip away a character that precedes the data in a field? Example: Item_No field has items, all in the format *12345. I want to remove the * at the load.

Thanks.

Jeff

1 Solution

Accepted Solutions
Anonymous
Not applicable

use purgechar() function

purgechar(Item_No, '*') as Item_No

View solution in original post

4 Replies
Anonymous
Not applicable

use purgechar() function

purgechar(Item_No, '*') as Item_No

Not applicable

See attached.

subfield(YourFieldName, '*', 2)

jmonroe918
Creator II
Creator II
Author

Thank you Michael.

Anonymous
Not applicable

No problem, here is another way, just starting from the 2nd position of the string:

mid(Item_No, 2) as Item_No