|
TrimLeft
string
TrimLeft(string
string, string targets)
Return
Value
Truncated
string.
Parameters
string
– a string that
needs to be processed.
targets
–a string,
containing characters to be removed.
Remarks
Use this
function to remove a particular character or a particular group of
characters (targets) from the beginning of the string.
Example
The following
example demonstrates the use of TrimLeft.
# Example for TrimLeft
strings
=
TrimLeft("
abcd",
"b a"
)
Println("New
string is
",
s)
Output of the example
script:
New string is cd
|