Build the list parts consisting of substrings of input string s, separated by the string sep.
let parts = s.split(sep).collect::<Vec<&str>>();
let parts: Vec<&str> = s.split(sep).collect();
let parts = s.split(sep);
(def parts (clojure.string/split s sep))
var parts = s.split(sep);
import "strings"
parts := strings.Split(s, sep)
const parts = s.split(sep);
import static java.util.Collections.list; import java.util.List; import java.util.StringTokenizer;
List<?> parts = list(new StringTokenizer(s, sep));
import static java.util.regex.Pattern.quote;
String parts[] = s.split(quote(sep), -1);
local function split(s,sep) local parts={} for sub in string.gmatch(s,"[^"..sep.."]+") do table.insert(parts,sub) end return parts end
uses sysutils;
parts := s.split([sep]);
@parts = split quotemeta($sep), $s;
parts = s.split(sep)
No security, no password. Other people might choose the same nickname.