Right() - get the rightmost count characters in a string
Right.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Right function example: how to get the rightmost count characters in a string</title>
</head>
<body>
<h2 style="color:HotPink">Right Function Example</h2>
<cfset TestString="This is a test string for Right function">
<cfoutput>
<b>
TestString: #TestString#
<br />
TestString[Right 8 characters]: #Right(TestString,8)#
</b>
</cfoutput>
</body>
</html>
- LTrim() - remove leading spaces from a string
- Mid() - extracts a substring from a string
- RemoveChars() - remove characters from a string
- RepeatString()
- 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
- RTrim() - remove spaces from the end of a string
- Trim() - remove leading and trailing spaces from a string
- UCase() - convert a string to uppercase