Files
lo/docs/data/core-runelength.md
T
Samuel Berthe fa095e4b4f fix(doc): fix go playground demo URL (#832)
* fix(doc): fix go playground demo URL

* fix(doc): add more go playground demo URL
2026-03-06 00:09:59 +01:00

502 B

name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
name slug sourceRef category subCategory playUrl variantHelpers similarHelpers position signatures
RuneLength runelength string.go#L160 core string https://go.dev/play/p/BXT52mBk0zO
core#string#runelength
core#string#substring
core#string#chunkstring
core#string#words
core#string#capitalize
core#string#ellipsis
30
func RuneLength(str string) int

Returns the number of runes (Unicode code points) in a string.

lo.RuneLength("hellô")
// 5