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

func strrtrim

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

String right trim. Deletes trailing blanks from the source string.

Syntax



   strrtrim (source)

Formal Declaration



   strrtrim:str (source:str)

Parameters


source

The string from which all trailing blanks are to be deleted.

Examples



   $nmdebug > wl strrtrim("  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 civar


func strwrite