• Splits string by separator.

    Note: This method is based on String#split.

    Parameters

    • string: undefined | null | string

      The string to split.

    • Optional separator: string | RegExp

      The separator pattern to split by.

    • Optional limit: number

      The length to truncate results to.

    Returns string[]

    Returns the new array of string segments.

  • Parameters

    • string: undefined | null | string
    • index: string | number
    • guard: object

    Returns string[]

    See

    _.split

Generated using TypeDoc