forked from s390guy/vm370
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDELWORD.HELPREXX
More file actions
17 lines (13 loc) · 750 Bytes
/
DELWORD.HELPREXX
File metadata and controls
17 lines (13 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DELWORD function
+-----------------------------------------------------------------------------+
| DELWORD(string, start, [length]) |
+-----------------------------------------------------------------------------+
Returns a copy of string with the substring starting at the start word number
and running for length words removed. If length is omitted, the rest of the
string is removed. If start is more than the string's length in words, the
string is returned unchanged. Any blanks following the last deleted word are
also deleted.
Examples:
DELWORD('Now is the time', 2, 2) == 'Now time'
DELWORD('Now is the time ', 3) == 'Now is '
DELWORD('Now time', 5) == 'Now time'