%TRIML Function

%TRIML built-in function returns the given string less any leading blanks.

%TRIML (String) 
        

Parameters

String

Required. Can be character, graphic, or UCS-2 data. When specified as a parameter for a definition specification keyword, the string parameter must be a constant.

Example


BEGSR TrimL_Ex
    DclConst Name(String) Value(" This is a test string.")
	ioField1.Text = %TrimL (String)
ENDSR

See Also

Built-in Function Overview

%TRIM Function

%TRIMR Function