str_remove_after | R Documentation |
str_remove_after
is a (vectorised) function that removes everything
that appears after a chosen separator in a text string. This is primarily
used to remove characters in security names that appear after the separator
in order to make it easier to match companies by name.
str_remove_after(string, sep)
string |
Input vector. |
sep |
Where to split the string. |
Used in scripts: Robust function: TRUE
Character vector with only the parts appearing before the separator.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.