Thursday, February 9th, 2023 | Coding
Uppercase the first character of each word in the string:
Snippet: #reReplace('text string',"(^[a-z]|\s+[a-z])","\U\1","ALL")#
Input: 'text string'
Output: 'Text String'
Uppercase the first character of the first word in the string:
Snippet: #reReplace('text string',"(^[a-z])","\U\1","ALL")#
Input: 'text string'
Output: 'Text string'
http://coldfusionsnippets.blogspot.com/2010/03/uppercase-first.html