trimright

Syntax

%trimright(string)

Description

Removes the whitespace from the end of a string.

Example

-%asc(32)hi%asc(32)-
-%trimright(%asc(32)hi%asc(32))-

Returns

- hi -
- hi-

See Also

trim | rtrim | ltrim | trimleft