segment.string: Split strings into their constituent segments.

Description Usage Arguments Functions Examples

Description

Split strings into their constituent segments (and count them).

Usage

1
2
3

Arguments

x

one or more strings to be split (and, optionally, counted)

split

the boundary character or sequence at which to segment the string(s). The default, NULL, splits the string after every character.

Functions

Examples

1
2
3
4
segment.string(c("asd", "fghj"))

segment.string(c("la-dee-da", "lala-la"), "-")
segment.counts(c("asd", "aasd", "asdf"))

cultevo documentation built on May 2, 2019, 12:02 a.m.