Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
marisolacostah
Contributor
Contributor

Encontrar en cadena valor numerico

Hello,

I have the following string:

 

'check 1258956  dfrrdd'

'check ssergtt  1258797 '

'1258956  dfrfttf'


I require the numbers that I can find in the string

 

Labels (1)
3 Replies
jduenyas
Specialist
Specialist

Try this

=PurgeChar(String_name,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ')

This will purge all letters and spaces that are in the String_Name.

 

MindaugasBacius
Partner - Specialist III
Partner - Specialist III

I would you the opposite function:
=KeepChar(FieldName, 0123456789)

Read more about it in:
https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/St...
jduenyas
Specialist
Specialist

Indeed better solution.

Shorter too...

Thanks