HPlogo System Debug Reference Manual > Chapter 10 System Debug Standard Functions

func strmax

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

String maximum. Returns the (constant) maximum size of a string.

Syntax



   strmax (source)

Formal Declaration



   strmax:u32 (source:str)

Parameters


source

Any string literal or variable. The result of this function is a constant. All strings have the same maximum length.

Examples



   $nmdebug > wl strmax("date"):"#"
   #2048

   $cmdat > = strmax(""),d
   #2048

Limitations, Restrictions


The maximum number of characters in a string currently is 2048.




func strltrim


func strpos