Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
You can use Talend Routine to convert any String into title case.
Here when we find a word separator we capitalize the next character. After that, we change the rest of the characters to lower case until we reach the next word separator.
call the routine in tMap
Thanks
Hi Dua,
please google "java capitalize string" and you will find some solutions for capitalizing strings. In Talend Studio, go to "Code > Routines" in the Repository view to create a routine and write a method that solves your requirement. You can then call your routine (method) for your input strings in a tMap component, for example.
Best regards,
Thomas
Hi,
You can use Talend Routine to convert any String into title case.
Here when we find a word separator we capitalize the next character. After that, we change the rest of the characters to lower case until we reach the next word separator.
call the routine in tMap
Thanks
Thank You Hesinberg
The solution provided by you is working fine.
I observed that the routine I have created is not showing in tmap Expression builder Under Categories - User define,So i called the routine like this: "routines.Camel_Case.convertToTitleCase(column name)"