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: 
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)