Forum Moderators: coopster
$string = "characters";
$new_string = substr($string, 0,5);
would print just:
chara
For more info check out:
http://www.php.net/manual/en/function.substr.php [php.net]
You can use it to strip from certain points, or from the beginning or end.
dc :)