kaven-basic - v6.0.0
    Preparing search index...

    Function GetQueryStringFromURL

    • Extracts the query string from a given URL, excluding any hash fragment.

      This function first removes the hash fragment from the provided URL, then returns the substring following the first '?' character, if present. If the URL does not contain a query string, undefined is returned.

      Parameters

      • url: string

        The URL string from which to extract the query string.

      Returns undefined | string

      The query string portion of the URL (excluding the '?'), or undefined if no query string exists.

      1.1.17

      2019-02-26