Returns the substring before the last occurrence of any the given separators (the separator is not returned)
Optional
the string to get a substring from
the strings to search for
the substring before the last occurrence of any the given separators
David Hsing
substringBeforeLastAny("foo/bar/foo/bar", ["/", ";"]); // 'foo/bar/foo' Copy
substringBeforeLastAny("foo/bar/foo/bar", ["/", ";"]); // 'foo/bar/foo'
Returns the substring before the last occurrence of any the given separators (the separator is not returned)