HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 8 System Debug Standard Functions

func strlen

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Feedback to webmaster