plainfp - v0.1.0
    Preparing search index...

    Function split

    • Split a string by a separator. Dual-form: call with both arguments for a direct result, or with just the separator to get a pipe-friendly function.

      Parameters

      • s: string
      • separator: string | RegExp

      Returns string[]

    • Split a string by a separator. Dual-form: call with both arguments for a direct result, or with just the separator to get a pipe-friendly function.

      Parameters

      • separator: string | RegExp

      Returns (s: string) => string[]