RTrim() - remove spaces from the end of a string
RTrim.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>RTrim function example: how to remove spaces from the end of a string</title>
</head>
<body>
<h2 style="color:HotPink">RTrim Function Example</h2>
<cfset TestString="Test string for RTrim function ">
<cfoutput>
<b>
TestString: [#TestString#]
<br />
TestString(after remove end spaces): [#RTrim(TestString)#]
</b>
</cfoutput>
</body>
</html>
- FindNoCase() - find the first occurence of a substring in a string (case insensitive)
- HTMLCodeFormat() - replace special character in a string with their HTML escaped equivalents
- HTMLEditFormat() - replace special character in a string with their HTML escaped equivalents
- Replace() - replace a substring in a string (case sensitive)
- ReplaceNoCase() - replace a substring in a string (case insensitive)
- Reverse() - reverse chracters in a string or digits in a number
- Right() - get the rightmost count characters in a string
- Trim() - remove leading and trailing spaces from a string
- UCase() - convert a string to uppercase