mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 21:31:48 +01:00
10 lines
178 B
Markdown
10 lines
178 B
Markdown
|
|
# strlen
|
||
|
|
|
||
|
|
Returns the length (number of characters) in the given string, including spaces.
|
||
|
|
|
||
|
|
## Basic usage
|
||
|
|
```smarty
|
||
|
|
{"Smarty"|strlen} # renders: 6
|
||
|
|
{156|strlen} # renders: 3
|
||
|
|
```
|