wand/example/stdlib/docs.go

10 lines
677 B
Go
Raw Normal View History

2026-01-07 21:21:20 +01:00
/*
Generated with https://code.squareroundforest.org/arpio/docreflect
*/
package main
import "code.squareroundforest.org/arpio/docreflect"
func init() {
docreflect.Register("strings.Split", "Split slices s into all substrings separated by sep and returns a slice of\nthe substrings between those separators.\n\nIf s does not contain sep and sep is not empty, Split returns a\nslice of length 1 whose only element is s.\n\nIf sep is empty, Split splits after each UTF-8 sequence. If both s\nand sep are empty, Split returns an empty slice.\n\nIt is equivalent to [SplitN] with a count of -1.\n\nTo split around the first instance of a separator, see [Cut].\n\nfunc(s, sep)")
}