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

func strdown

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

String downshift. Returns a string that is the result of downshifting all alphabetic characters in the source string.

Syntax



   strdown (source)

Formal Declaration



   strdown:str (source:str)

Parameters


source

The string for which to downshift all alphabetic characters.

Examples



   $nmdebug > var list '"CHRIS" "WICKY" "PAT" "HOFMANN" "HELMUT"'
   $nmdebug > foreach j list wl strdown (j)
   chris
   wicky
   pat
   hofmann
   helmut

Downshift and print each name in the string variable list.

   $nmdebug > if strdown(strinput("continue? ")) = "n" then abort

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

Limitations, Restrictions


none




func strdel


func strextract