Re: [PHP] Question: Number of Characters

2001-04-01 Thread Steve Edberg
At 4:16 PM -0700 4/1/01, Marcus Ouimet wrote: > How can i determine the number of characters in a string? I >am using substr >to cut off the last 4 characters of a string. Which is working great. But I >want to replace the 3 charcters with "..." only if there are over 20 >charcters . I trie

Re: [PHP] Question: Number of Characters

2001-04-01 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Marcus Ouimet") wrote: > How can i determine the number of characters in a string? http://www.php.net/strlen/ -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Question: Number of Characters

2001-04-01 Thread Marcus Ouimet
How can i determine the number of characters in a string? I am using substr to cut off the last 4 characters of a string. Which is working great. But I want to replace the 3 charcters with "..." only if there are over 20 charcters . I tried substr_replace but it appears on everything no ma