choose_first_index: Choose first index

View source: R/choose_first_index.R

choose_first_indexR Documentation

Choose first index

Description

Find the first index of the splitting token arrays in a string.

Usage

choose_first_index(text2, split_w)

Arguments

text2

string text, vector split_w

split_w

split_w

Details

finds the first index of the splitting token arrays in a string

Value

the string which is first in the text field (from strings in the vector)

Author(s)

Mika Koistinen, Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

# choose_first_index("printed and sold by R. Marchbank") #  split_w=c(" and ", " by ") -> " and "

COMHIS/estc documentation built on April 7, 2022, 4:53 p.m.