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

func strltrim

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

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 strlen


func strmax