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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use routines in Tmap

Team,

I am beginner to TOD DI. I have a requirement to convert the first letter of a word in the string to upper case. I am planning to write a routine and use as an user defined function. Kindly help me with how to use routines in Tmap. Thanks in Advance.

Labels (2)
2 Replies
TRF
Champion II
Champion II

Hi,
As soon as your custom routine is defined, you can use it as any standard routine from any place where you can put some Java code (tMap and any other component).
For your use case, no need to write a custom routine.
Just combine functions available from StringHandling category (LEFT, RIGHT, LEN, UPCASE).
Hope this helps.
TRF
Anonymous
Not applicable
Author

Hi,
Thanks for your information. I will try.