Welcome Guest, Not a member yet? Register   Sign In
character_limiter problems
#1

[eluser]louis w[/eluser]
If there are no more words in a string, and it ends in a period, the $end_char should not be appended.

Example:

Code:
$string = 'Testing this out ok.';
echo character_limiter($string, 18);
            
// Result: Testing this out ok.…


Messages In This Thread
character_limiter problems - by El Forum - 11-26-2008, 11:26 AM
character_limiter problems - by El Forum - 11-26-2008, 01:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB