Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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