Get the first string which is separated by separator.
separator
String first({String separator = "/"}) { return split(separator).firstOrNull ?? ""; }