Module

x/lodash_es/src/words.js>default

lodash for deno use
Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/words.js";

Splits string into an array of its words.

Examples

_.words('fred, barney, & pebbles'); // => ['fred', 'barney', 'pebbles']

_.words('fred, barney, & pebbles', /[^, ]+/g); // => ['fred', 'barney', '&', 'pebbles']

Parameters

string
pattern
guard