Forum Moderators: coopster
But I want to limit the number of characters of a particular element. Can someone point to me to a php command that does this? I'm a novice.
substr($var,0,$limit)
one minute too slow ;)
I'll be working on a brute-force subroutine to do this, but thought I'd ask in case someone's got a fancy regexp trick or something.
That will truncate on the first whitespace found starting at the 100th position.