If I want to truncate a string to 21 everytime, regardless of what the strlen is, how would I do this.
ie.
$str = "blahblahblahblahblahblah blahblahblahblahblah";
if($str >= 21){
truncate $str to 21
}
[man]substr[/man]
substr($str, 0, 21)