Re: [SMARTY] count_characters prob
| From: | messju mohr | Date: | Fri, 18 Apr 2003 15:50:54 +0000 |
| Subject: | Re: [SMARTY] count_characters prob | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9323@lists.php.net to get a copy of this message | ||
On Fri, Apr 18, 2003 at 04:58:28PM +0200, Alexander Feil wrote:
> Hi There!
>
> The count_characters modifier doesn't count any spaces...
hmm. strlen ?
you can use php-functions as modifiers if you have
$smarty->security=false which is likely.
> How can i manage it to count an article with spaces?
>
> It's important for sending a sms with only 160 characters (including the
> spaces)...
>
> Hope anybody can help me...
>
> Greets form Germany,
> Alexander Feil
>
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php