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

Whitespace problem - findOneOf

Hi,

i don´t understand this phenomenon. The first expression shows 0, the second 5. Please, see attachement.

//FindOneOf('text ',':&%$ !"§/') // = 0

FindOneOf('text ',':&%$ !"§/') // = 5

I copy the whitespace from the first expression into notepad++ and "show all character", but there is nothing to see what could explain it.

Does somebody has any idea?

Regards,

sam

1 Solution

Accepted Solutions
rubenmarin

Hi, that space is the ascii code 160, you can use:

FindOneOf('text ',':&%$$(=Chr(160))!"§/'

And Ord('CopyCharacterHere') to retrieve the ascii code of a character

View solution in original post

2 Replies
rubenmarin

Hi, that space is the ascii code 160, you can use:

FindOneOf('text ',':&%$$(=Chr(160))!"§/'

And Ord('CopyCharacterHere') to retrieve the ascii code of a character

Anonymous
Not applicable
Author

Thanks a lot!

Regards,

Sam