Command Reference : String and Date Function Reference
Trim left whitespace.
Syntax: @ltrim(str)
tr: string
Return: string
Returns the string str with spaces trimmed from the left.
@ltrim(" I doubt that I did it.  ")
returns “I doubt that I did it.  ”. Note that the spaces on the right remain.
If ALPHA1 is an alpha series,
alpha alphaltrim = @ltrim(alpha1)
returns the left-trimmed strings in ALPHA1 for each observation in the workfile sample.
If SVEC1 is an string vector,
svector sveclen = @ltrim(svec1)
returns a string vector containing the left-trimmed elements of SVEC1.
See also @rtrim and @trim.