summaryrefslogtreecommitdiff
path: root/docs/designers/language-modifiers/language-modifier-strlen.md
blob: 4c1f37ab7dbaf3014652243623a09569447d8d20 (plain)
1
2
3
4
5
6
7
8
9
# strlen

Returns the length (number of characters) in the given string, including spaces.

## Basic usage
```smarty
{"Smarty"|strlen} # renders: 6
{156|strlen} # renders: 3
```