Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/mod.ts>split

Faster and smaller alternative to Ramda
Latest
function split
import { split } from "https://deno.land/x/rambda@9.4.1/mod.ts";

Curried version of String.prototype.split

Parameters

separator: string | RegExp

Returns

(str: string) => string[]

Parameters

separator: string | RegExp
str: string

Returns

string[]