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

x/rambda/mod.ts>split

Faster and smaller alternative to Ramda
Go to Latest
function split
import { split } from "https://deno.land/x/rambda@9.2.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[]