mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-07 09:41:01 +02: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
|
||
|
```
|