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

    Function substringAfterAny

    • Returns the substring after the first 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 first occurrence of any the given separators

      David Hsing

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