Function before

  • before(str: string, token: string): string
  • Get the string up to and not including the given token.

    Returns

    Parameters

    • str: string
    • token: string

      The string to search for.

    Returns string

Generated using TypeDoc