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)

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, 2025 • Updated: 2025-03-12
Comment or report problem with topic