$ltrim
Trim the left side of a string from the left, following a pattern.
$ltrim(
Source,
Pattern)
Example:
vString = $ltrim("xxxxUniface","x")
Parameters
Parameter | Data Type | Description |
---|---|---|
Source | String | String to be left trimmed. |
Pattern | String | Pattern to remove. It can be a constant string or a syntax string. For more information, see Syntax Strings for Pattern Matching. |
Return Values
Trimmed string.
Use
Allowed in all component types.
Using $ltrim
vString1="xxxxUniface" vString2 = $ltrim(vString1,"x") ; vString2 now contains "Uniface"