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

func strup

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

String upshift. Returns a string which is the result of upshifting all alphabetic characters in the source string.

Syntax



   strup (source)

Formal Declaration



   strup:str (source:str)

Parameters


source

The string whose alphabetic characters are to be upshifted.

Examples



   $nmdebug > var cows "brindle and bessie.  jenny and boss."
   $nmdebug > wl strup(cows)
   BRINDLE AND BESSIE.  JENNY AND BOSS.

Upshift the string variable and display the results.

   $nmdebug > if strup(strinput("continue? ")) = "N" then abort

Prompt the user to continue and if the response is N or n then abort.

Limitations, Restrictions


none




func strrtrim


func strwrite