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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Replace multiple characters in String

Hi All,
I have a requirement where I need to convert all characters in a string into numbers. Please refer the below example:
Eg: Lets say I have a string 'BG1002439123'. I need to parse this string and replace the characters 'BG' using the series below
A=100, B=101, C=102,.......Z=125.
So my new character string would be something like '1011061002439123'.
Is there any single function to get this done or do we need to use the StringHandling.EREPLACE() functions multiple times to achieve this functionality.
Thanks in advance.
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi  
You can try to use tReplaceList to replace the values at a time. 
Regards
Shong