splitpick: Pick Substring Indicated by Separator

splitpickR Documentation

Pick Substring Indicated by Separator

Description

Split the string by separator and pick the former or latter part.

Usage

splitpick(x, sep, which)

Arguments

x

Input string

sep

Separator string

which

Indicate which part to pick

Value

Polished string

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

x2 <- splitpick("London re Edinburgh", " re ", 1)

rOpenGov/bibliographica documentation built on April 10, 2022, 8:51 p.m.