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

    Function substringAfter

    • Returns the substring after the first occurrence of the given separator (the separator is not returned)

      Parameters

      • Optionaltext: null | string

        The string to get a substring from

      • Optionalseparator: null | string

        The string to search for

      Returns undefined | null | string

      the substring after the first occurrence of the given separator

      David Hsing

      substringAfter("foo/bar/foo/bar", "/");    // 'bar/foo/bar'