HP 3000 Manuals

func strlen [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

func strlen 

String length.  Returns the current size of a string.

Syntax 

     strlen (source)

Formal Declaration 

     strlen:u32 (source:str)

Parameters 

 source          Any string literal or variable.

Examples 

     $nmdebug > wl strlen("") 
     $0

Print the length (number of characters) in the empty string.

     $nmdebug > var company "Hewlett-Packard Co." 
     $nmdebug > = strlen(company),d 
     #19

Limitations, Restrictions 

none



MPE/iX 5.0 Documentation