name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
| name |
slug |
sourceRef |
category |
subCategory |
playUrl |
variantHelpers |
similarHelpers |
position |
signatures |
| ChunkString |
chunkstring |
string.go#L130 |
core |
string |
https://go.dev/play/p/__FLTuJVz54 |
|
| core#slice#chunk |
| core#string#substring |
| core#string#words |
| core#string#runelength |
| core#string#split |
|
20 |
| func ChunkString[T ~string](str T, size int) []T |
|
Splits a string into chunks of the given size. The last chunk may be shorter. Returns [""] for empty input.