LTRIM$/WLTRIM$

Top  Previous  Next

Syntax

STRING = LTRIM$(str as STRING)

WSTRING = WLTRIM$(str as WSTRING)

Description

Trims leading whitespace characters from the string.

Parameters

str - The input string

Return value

A copy of the input string minus any leading whitespace characters.

Remarks

Whitespace as defined by this function includes space and tab characters.

See Also: RTRIM$

Example usage

PRINT LTRIM$("        Remove leading spaces")