Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
DELWORD (Delete Word) z/OS TSO/E REXX Reference SA32-0972-00 |
|
>>-DELWORD(string,n--+---------+--)---------------------------->< '-,length-' returns string after deleting the substring that starts at the nth word and is of length blank-delimited words. If you omit length, or if length is greater than the number of words from n to the end of string, the function deletes the remaining words in string (including the nth word). The length must be a positive whole number or zero. The n must be a positive whole number. If n is greater than the number of words in string, the function returns string unchanged. The string deleted includes any blanks following the final word involved but none of the blanks preceding the first word involved. Here are some examples:
|
Copyright IBM Corporation 1990, 2014
|