In
<dc74548a025aff4a85f46926802a9b2308fb7...@chsa1035.share.beluni.net>,
on 09/27/2012
at 09:00 AM, "Hunkeler Peter (KIUP 4)"
<[email protected]> said:
>You might wonder why the CSI* variables are filled using the
>substr() function.
Indeed; why not LEFT?
>There is a special behavior of substr(), left(), right() in REX that
>I haven't seen in other languages (and have indeed been missing
>there): If the source string is *shorter* than the target length
>specified in the function call, the source string is paded with
>blanks to make the result a string of the desired length.
PL/I
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2 <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN