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)

Return Value

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:

Library wwUtils

© West Wind Technologies, 1996-2019 • Updated: 11/09/12
Comment or report problem with topic