Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

ltrim string charlist


Alias

None


Description

Strip whitespace (or other characters) from the beginning and end of a string.


Parameters

string

The string that will be trimmed.

charlist

Optional parameter: Optionally, the stripped characters can also be specified using the charlist parameter. Simply list all characters that you want to be stripped. With .. you can specify a range of characters.
Note: RANGE CHARACTERS [I.E: 'a'..'z'] are not supported
.


Return Value

String: The processed string. Use libcox_value_to_string() to extract the processing result.