Have you tried tha substr PHP function?

"Chris Payne" <[email protected]> escreveu na mensagem 
news:[email protected]...
> Hi everyone,
>
> I'm pulling data from a mysql database, but need only the first 20
> characters of each string for a short description, what is the best
> method to just grab the first 20 characters from a string regardless
> of whether they are letters or numbers?
>
> Chris 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to