March 20, 1979. And that "double-secret" list is hidden in "The Rexx Language:
a Practical Approach to Programming" by M.F. Cowlishaw, as well as every other
Rexx manual/text on the planet. :-)
-Chip-
On 3/5/08 13:59 Gentry, Stephen said:
When was the 'T' option added!? 8-)
Over sight on my part.
Thanks.
Steve G.
-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Boonie
Sent: Tuesday, March 04, 2008 9:28 PM
To: [email protected]
Subject: Re: The list it to quiet, here's something to work on.
Unless I've misunderstood the request, it's just:
length = Length(Strip(string, 'T')) /* Strip trailing blanks and then
take
length */
- mb
I have a character string 'NOW IS THE TIME '
Please note that there are multiple spaces/blanks after the word TIME
I want to find the length of this character string not including
the multiple blanks after TIME.(i.e. NOW IS THE TIME length=15)
I can figure it out with brute force and awkwardness (get the LENGTH
of the string and start working backwards until I hit the first
non-blank) but was hoping for a more elegant way. Is there a
double-secret Rexx function or a Pipe function that will accomplish
this? I'm a little surprised Rexx doesn't have this (unless, again,
it's on the double-secret list).
Thanks,
Steve G