View source: R/choose_first_index.R
choose_first_index | R Documentation |
Find the first index of the splitting token arrays in a string.
choose_first_index(text2, split_w)
text2 |
string text, vector split_w |
split_w |
split_w |
finds the first index of the splitting token arrays in a string
the string which is first in the text field (from strings in the vector)
Mika Koistinen, Leo Lahti leo.lahti@iki.fi
See citation("bibliographica")
# choose_first_index("printed and sold by R. Marchbank") # split_w=c(" and ", " by ") -> " and "
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.