splitpick: Pick Substring Indicated by Separator

Description Usage Arguments Value Author(s) References Examples

View source: R/splitpick.R

Description

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

Usage

1
splitpick(x, sep, which)

Arguments

x

Input string

sep

Separator string

which

Indicate which part to pick

Value

Polished string

Author(s)

Leo Lahti [email protected]

References

See citation("bibliographica")

Examples

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

rOpenGov/bibliographica documentation built on Nov. 13, 2018, 5:59 a.m.