UCaseAll(str)
Last updated May 14, 2002
Version: 1 | Requires: CF5 | Library: StrLib
Description:
It replaces all the ocurrencies in a string of French and Spanish letters and accents, with its equivalents capitalized.
Return Values:
Returns a string.
Example:
<cfoutput>
#UCaseAll("�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�")#
</cfoutput>
Parameters:
Name | Description | Required |
---|---|---|
str | The string to format. | Yes |
Full UDF Source:
/**
* Returns a string with all words capitalized with special non english characters.
*
* @param str The string to format. (Required)
* @return Returns a string.
* @author Ivan Rodriguez (ivan.rodriguez@de-net.net)
* @version 1, May 14, 2002
*/
function UCaseAll(str){
var newstr = "";
var list1 ="�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,";
var list2 = "�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�,�";
newstr = Ucase(str);
newstr = ReplaceList(newstr,list1,list2);
return newstr;
}
Search CFLib.org
Latest Additions
Raymond Camden added
QueryDeleteRows
November 04, 2017
Leigh added
nullPad
May 11, 2016
Raymond Camden added
stripHTML
May 10, 2016
Kevin Cotton added
date2ExcelDate
May 05, 2016
Raymond Camden added
CapFirst
April 25, 2016