in reply to Variable Removal From End of String
substr( $str, -20 )= ''; #string, removes chars splice( @array, -20 )= (); #array, removes scalars
Jeroen
"We are not alone"(FZ)
Update: Avoided double numbers by using the lvalue
property of these functions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Variable Removal From End of String
by cdherold (Monk) on May 01, 2001 at 11:49 UTC | |
|
(tye)Re: Variable Removal From End of String
by tye (Sage) on May 01, 2001 at 19:22 UTC | |
by jeroenes (Priest) on May 01, 2001 at 21:42 UTC | |
|
Re: Re: Variable Removal From End of String
by cdherold (Monk) on May 01, 2001 at 12:00 UTC |