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