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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Convert Integer to String

I need to convert a primary key Interger to a String.
In the tMap I have written: (REF.REF_ID).toString() but the following error appears: "cannot invoke toString() on the primitive type int".
How can I convert it?
Thanks

Labels (2)
11 Replies
Anonymous
Not applicable
Author

I'm new to Talend.  what do you mean by REF.REF_ID.  Would  you provide an example. Also there is a DataOperation Function called CHAR(int I):id_Character - DataOperation which converts a numeric value to its ASCII character string equivalent.  Does this accomplish the same thing?

 

Anonymous
Not applicable
Author

BTW, the CHAR function is listed in tMAP if using the Expression Builder.