Removes spaces from the end of a string.
A copy of string, after removing trailing spaces.
String functions
RTrim(string)
LTrim, Trim
Parameter
Description
string
A string or a variable that contains one
<cfscript> string="This is a sample string " writeOutput(RTrim(string)) </cfscript>
Sign in to your account
Quick links
Legal Notices | Online Privacy Policy
Language Navigation
Choose a region
Selecting a region changes the language and/or content on Adobe.com.
Americas
Asia Pacific
Europe, Middle East and Africa