System Debug Reference Manual (32650-90888)
Chapter 10 449
System Debug Standard Functions
func strdown
Examples
$nmdebug > = strdel("This is NOT fun", 9, 4)
"This is fun"
Starting at position 9, delete the next four characters.
$nmdebug > wl strdel("Fishy, fishy, in the brook.", 13, 1000)
Fishy, fishy
Delete characters from position 13 to the end of the string.
Limitations, Restrictions
none
func strdown
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.