@yookue/ts-lang-utils
    Preparing search index...

    Function substringAfterLastAny

    • Returns the substring after the last occurrence of any the given separators (the separator is not returned)

      Parameters

      • Optionaltext: null | string

        the string to get a substring from

      • Optionalseparators: (undefined | null | string)[]

        the strings to search for

      Returns undefined | null | string

      the substring after the last occurrence of any the given separators

      David Hsing

      substringAfterLastAny("foo/bar/foo/bar", ["/", ";"]);    // 'bar'