in reply to substring problem???

Oups, I think I got it :
$wanted_string=substr($string, -4);
It works ok, I hope it's the correct way to go...

Replies are listed 'Best First'.
Re^2: substring problem???
by jwkrahn (Abbot) on May 28, 2006 at 09:00 UTC
    Yes it is. :-)