mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02: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