strLTrim Function

Removes the leading space characters from the start of a string.


str strLTrim(str text)

Parameter

Description

text

The string from which to remove the leading spaces.

The specified string with no leading spaces.

The strLTrim function is complementary to the strRTrim function.

This method does not remove tab or newline characters.

// Returns the text string "ABC-DEFG".
strLTrim("   ABC-DEFG");

Community Additions

ADD
Show: