Appearance
按分隔符拆分字符串为数组。
split(s: string, sep: string) → array
将字符串 s 按分隔符 sep 拆分为字符串数组。
s
sep
std.split("a,b,c", ",") // ["a", "b", "c"] std.split("hello world", " ") // ["hello", "world"]
["a", "b", "c"]