LSUCase()
Converts the alphabetic characters in a specified string to uppercase, respecting locale-specific casing rules.
This is particularly important for languages where the standard/ typical (i.e. western) case conversion rules do not apply, ensuring accurate and culturally correct text processing.
The function defaults to the current page's locale if no locale is specified.
Introduced: 6.1.0.37
LSUCase( string=string, locale=locale );
Returns: String
Examples
<cfset text = "istanbul ısparta">
<cfoutput>
Turkish upper case: #LSUCase(text, "tr-TR")#<br>
Normal upper case: #UCase(text)#<br>
</cfoutput>
See also
- Internationalization
- LSLCase()
- UCase()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)