wwUtils::TrimWhiteSpace

Trims whitespace of the end of a string using a pre-set of characters that you optionally provide. By default CHR(13), CHR(10), Spaces and Tabs are cleared.

o.TrimWhiteSpace(lcString,lcStripChars)

Returns

Trimmed string

Parameters

lcString
The string to trim at the end.

lcStripChars
Optional - the characters that are considered white space. Default: Space, Chr(13), Chr(10), Tab

See also