Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[resolved] StringHandling.IS_ALPHA() functionality not clear.

Hi,
I am using "Jaspersoft ETL" Version: 5.0.2.
My requirement is:
I have a column in postgres database which contains numeric and alphanumeric values. Now I want to filter out numeric values in one file and alphanumeric values in another file.
If I use the function
StringHandling.IS_ALPHA("99") ,it returns "false" in output.
The above output is correct and understood.
But if I use
StringHandling.IS_ALPHA("9") ,it returns "true" in output.
StringHandling.IS_ALPHA("9A") ,it returns "false" in output.
StringHandling.IS_ALPHA("A9") , it returns "true" in output.
I cannot understand the output for "9","9A" and "A9"
I want to know whether the function is providing correct output or not. If the output is correct , then can you help me understand the functionality of IS_ALPHA(). And also, how can I filter out numeric and alphanumeric values in separate file.
Thanks
Labels (2)
1 Solution

Accepted Solutions
_AnonymousUser
Specialist III
Specialist III
Author

Hi Shong,
Thanks for your reply. I tried Mathematical.Num(). Its working perfectly.

Regards,

View solution in original post

3 Replies
Anonymous
Not applicable

Hi
It should be a bug on v5.0.2, I just tested it on v5.2.1 and it works, please download the latest version and test it again. In the mean time, you can test also the function Mathematical.Num(), it returns true (1) if the argument is a numeric data type; otherwise, returns false (0).
Shong
_AnonymousUser
Specialist III
Specialist III
Author

Hi Shong,
Thanks for your reply. I tried Mathematical.Num(). Its working perfectly.

Regards,
Anonymous
Not applicable

Thanks for your feedback, so, you can the function Mathematical.Num() as a alternative solution.
Shong