Method in text · Searchable coil-stdlib

Searchable::split

fn split<P: Pattern>(T hay, P pat) -> Vec<string>
Import
use text::{Searchable};
Source: src/text.hy

Returns the pieces of hay between the matches of pat.

A match at either end gives an empty first or last piece.

Parameters#

NameType
hayT
patP

Returns#

Vec<string>

See also#

↑ ↓ navigate ↵ open