1
 Follower
13
 Likes

Add the ToTitleCase method

Builtin & User functions
New

In OutSystems we have the ToLower() and ToUpper() methods, but it would be nice to have the ToTitleCase() method.

Could this be implemented in OutSystems?

https://docs.microsoft.com/en-us/dotnet/api/system.globalization.textinfo.totitlecase?redirectedfrom=MSDN&view=netframework-4.7.2

Created on 7 Jan
Comments (8)

Changed the category to Builtin & User functions


It would be good indeed.

Hello Ricardo, 

Check out my forge component String Utils that has a bunch of string utility methods. I have added support for ToTitleCase().   


Regards

Amal

Merged this idea with ''Title Case' Built-in Function' (created on 06 Apr 2019 10:07:19 by Ruben Bernardo)

A new text built-in function added to Service Studio that formats any input string into title case format.


Examples: 

 - this would be a useful function ; This Would Be A Useful Function

- paulo rosado ; Paulo Rosado



This comment was:
- originally posted on idea ''Title Case' Built-in Function' (created on 06 Apr 2019 by Ruben Bernardo)
- merged to idea 'Add the ToTitleCase method' on 11 Jun 2019 18:53:06 by Tiago Leão

Hi Ruben

I added the function to an existing forge component here: https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=2341&ProjectName=TextMod



This comment was:
- originally posted on idea ''Title Case' Built-in Function' (created on 06 Apr 2019 by Ruben Bernardo)
- merged to idea 'Add the ToTitleCase method' on 11 Jun 2019 18:53:06 by Tiago Leão

Changed the category to Builtin & User functions


Hi Ruben, 

First of all, thank you for your idea and contribution.

It is a good suggestion for a new built-in function. It could be placed near ToLower() and ToUpper() built-in functions. Can you please elaborate on the uses cases that you need to use this? 

Keep those ideas flowing and send us your feedback as you did.

Thank you!



This comment was:
- originally posted on idea ''Title Case' Built-in Function' (created on 06 Apr 2019 by Ruben Bernardo)
- merged to idea 'Add the ToTitleCase method' on 11 Jun 2019 18:53:06 by Tiago Leão

Catarina, I will give you a good and simple use case for this built-in function that we're asking. We're registring an user and someone types "CATARINA FONSECA" or "CaTARina FonSECA". I don't want this data to go like this to the database. :) I just want "Catarina Fonseca". Don't you think this happens a lot? :)

views
340
Followers
1