Name

RTrim

Synopsis

RTrim(string)

Removes trailing spaces from the specified string. Example:

<CFSET OriginalString = "ColdFusion     ">

<CFOUTPUT>
<B>Original String (quoted):</B> "#OriginalString#"<BR>
<B>Right-trimmed String (quoted):</B> "#RTrim(OriginalString)#"
</CFOUTPUT>

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.