summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/countrunes.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/countrunes.md')
-rw-r--r--docs/content/en/functions/countrunes.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/docs/content/en/functions/countrunes.md b/docs/content/en/functions/countrunes.md
deleted file mode 100644
index 0d89af857..000000000
--- a/docs/content/en/functions/countrunes.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-title: countrunes
-description: Determines the number of runes in a string excluding any whitespace.
-categories: [functions]
-menu:
- docs:
- parent: functions
-keywords: [counting, word count]
-signature:
- - "countrunes INPUT"
- - "strings.CountRunes INPUT"
-relatedfuncs: []
----
-
-In contrast with `countwords` function, which counts every word in a string, the `countrunes` function determines the number of runes in the content and excludes any whitespace. This has specific utility if you are dealing with CJK-like languages.
-
-```go-html-template
-{{ "Hello, 世界" | countrunes }}
-<!-- outputs a content length of 8 runes. -->
-```
-
-[pagevars]: /variables/page/