Function splitByCommasWithEscapes

  • Splits a string by commas while also respecting escaping commas with a backslash

    Parameters

    • str: string

      String to split

    Returns string[]

    List of tokens