Help needed: String manipulation function TitleCase

I have a requirement for a web application where I need to display a string in title case. How do we do that in OutSystems ? Is there any extension available in forge to achieve the same. 


Thanks in advance 


Solution

Hi 

Check out the extension StringUtils that has a bunch of string manipulation methods including ToTitleCase() 

Hope this helps !!!

Feedback appreciated. 

Solution

Hi Ragul,

You need to split your string into words and than apply this to each word ToUpper(SubStr(text, 0, 1)) + ToLower(SubStr(text, 1, Length(text)))

Regards,

Marcelo