Returns the substring after the last occurrence of the given separator (the separator is not returned)
Optional
the string to get a substring from
the String to search for
the substring after the last occurrence of the given separator
substringAfterLast("foo/bar/foo/bar", "/"); // 'bar' Copy
substringAfterLast("foo/bar/foo/bar", "/"); // 'bar'
Returns the substring after the last occurrence of the given separator (the separator is not returned)