Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Substring question

Hello , 

Is it possible to know how to extract a sub string in a new field for the following scenario :   

The content of my field is only numeric or numeric following by alphabetical  characters  

example  :        12345            result will be  12345   

                         12345ABC     result will be 12345  

                         12345Z          result will be 12345  

Thanks for your help    

Thierry

1 Reply
maxgro
MVP
MVP

try with keepchar function

KeepChar('12345ABC', 1234567890)

KeepChar(yourfield, 1234567890)