substr( xxx, 1, 100)

>>
>>Hi
>>
>>Anyone know how to clip the number of characters in a string? For instance,
>>I have a string carrying a long piece of text, say, of 200 characters, but I
>>want to reduce this to just the first 100 characters.
>>
>>
>>Thanks in advance.
>>
>>Russell

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

Reply via email to