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

How to determine if 5th character is a number

Hey All,

I am trying to determine if the 5th character in a string is a number. Some field values are TEST##### and some are TESTxxxx if TEST# then I want to show, if TESTx I want to hide.

Thanks,

Vince

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

IsNum(mid('TESTxxxx',5,1))

View solution in original post

4 Replies
Clever_Anjos
Employee
Employee

IsNum(mid('TESTxxxx',5,1))

stigchel
Partner - Master
Partner - Master

Try with something like

IsNum(mid('abcd1fg',5,1))

Not applicable
Author

Thank you - I figured it was that simple!!!!!

Couldn't get my brain around it!!!!!!

Not applicable
Author

Thank you - this works as well