System Debug Reference Manual (32650-90888)

Chapter 10 453
System Debug Standard Functions
func strltrim
Print the length (number of characters) in the empty string.
$nmdebug > var company "Hewlett-Packard Co."
$nmdebug > = strlen(company),d
#19
Limitations, Restrictions
none
func strltrim
String left trim. Deletes leading blanks from the source string.
Syntax
strltrim (
source
)
Formal Declaration
strltrim:str (
source
:str)
Parameters
source
The string from which all leading blanks are to be deleted.
Examples
$nmdebug > wl strltrim(" A string with extra blanks. "):"qo"
"A string with extra blanks. "
%cmdebug > = strltrim(strrtrim(" ABCD "))
"ABCD"
Delete both leading and trailing blanks.
Limitations, Restrictions
none
func strmax
String maximum. Returns the (constant) maximum size of a string.