Thursday, February 9th, 2023 | Coding
Last Modified: 2024-04-26
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
Input Action Output
A collection of snippets and links that have proven useful for development, programming, ColdFusion, Javascript, jQuery, PHP, Python, Dell, Minecraft, Apple, Mac, Windows, LINUX, Raspberry Pi, Adobe, CSS, and HTML.
©2024 Input Action Output