character_limiter not working? |
[eluser]davidbehler[/eluser]
From the Guide Quote:..It maintains the integrity of words so the character count may be slightly more or less then what you specify... This means that the behaviour in your second example is perfectly normal because your string basically is one huge word which this function won't break. You might want to use Code: echo substr($string, 10).'...'; |
Messages In This Thread |
character_limiter not working? - by El Forum - 06-25-2010, 04:57 AM
character_limiter not working? - by El Forum - 06-25-2010, 05:16 AM
|