in reply to chopping lots of characters
that will give you $string containing all but the last 4 characters of what it started with.$string = substr($string, 0, -4);
HTH.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: chopping lots of characters
by Abigail-II (Bishop) on Jun 24, 2004 at 12:38 UTC |