STR_LTRIM

Use the STR_LTRIM script function to delete empty spaces at the beginning of a string.

Syntax

STR_LTRIM (String)

  • STR_LTRIM
    Deletes empty spaces at the beginning of a string

  • String
    Alphanumeric character string that should be converted
    Format: script literal or script variable

Return code

String without leading empty spaces

Example

The following example prints the result ("Database opening...   ") in the activation report.

:SET &RET# = STR_LTRIM("   Database opening...   ")
:
PRINT &RET#

See also:

seealso

Script Elements for Editing Strings