rTrim

Removes spaces from the end of a string.

rTrim(String) → returns string

Argument Reference

String string
Required

A string or a variable that contains one

Examples
Sample code invoking the rTrim function

'>' & rTrim('    CFDocs    ') & '<'

Expected Result: > CFDocs<

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub