| T O P I C R E V I E W |
| peter.cook |
Posted - 07/01/2004 : 10:20:41 AM Hi,
I've found this code :
%[%Z,%[%Z]] returns the string minus the last character. This is actually what I want. Is this expected behaviour with the script as shown ie reliable?
Cheers,
Pete
|
| 2 L A T E S T R E P L I E S (Newest First) |
| peter.cook |
Posted - 07/02/2004 : 4:52:39 PM Hi Mike,
Thanks for clarification,
Cheers,
Pete
|
| Mike Buess |
Posted - 07/01/2004 : 11:41:23 AM Hi Pete,
%[%Z,n] returns the substring preceding the nth character.
n=%[%Z] is the number of characters in %Z.
So %[%Z,%[%Z]] should return the string minus the last character. (Labtalk indices start with 1.)
Mike Buess Origin WebRing Member |
|
|