in reply to Re: String Length
in thread String Length
buckaduckmy $day = '1ST'; my $suffix = substr($day, -2, 2, ''); print $day; # "1" print $suffix; # "ST"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: String Length
by cLive ;-) (Prior) on Apr 05, 2001 at 01:12 UTC | |
by merlyn (Sage) on Apr 05, 2001 at 17:52 UTC | |
by cLive ;-) (Prior) on Apr 05, 2001 at 22:21 UTC | |
by merlyn (Sage) on Apr 05, 2001 at 23:00 UTC |