Function Reference

StringTrimLeft

Trims a number of characters from the left hand side of a string.

StringTrimLeft ( "string", count )

 

Parameters

string The string to evaluate.
count The number of characters to trim.

 

Return Value

Returns the string trimmed by count characters from the left.

 

Remarks

If count is out-of-bounds, an empty string is returned.
StringTrimLeft($str, $n) is functionally equivalent to StringRight($str, StringLen($str) - $n)

 

Related

String, StringInStr, StringLeft, StringLen, StringLower, StringMid, StringRight, StringTrimRight, StringUpper

 

Example


$result = StringTrimLeft("I am a string", 3)
MsgBox(0, "String without leftmost 3 characters is:", $result)