Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
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.