mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
655 B
655 B
title, description, categories, keywords, menu, function, relatedFunctions, aliases
| title | description | categories | keywords | menu | function | relatedFunctions | aliases | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| strings.RuneCount | Returns the number of runes in a string. |
|
|
|
|
|
In contrast with the strings.CountRunes function, which excludes whitespace, strings.RuneCount counts every rune in a string.
{{ "Hello, 世界" | strings.RuneCount }} → 9