An imperfect replication of stringr in base R.
Builds upon hadley/stringb and petermeissner/stringb.
Any help writing or speeding up functions is appreciated! Just submit a PR.
c.R
- str_c()
detect.R
- str_detect()
, str_starts()
, str_ends()
extract.R
- str_extract()
, str_extract_all()
locate.R
- str_locate()
, str_locate_all()
, invert_match()
replace.R
- str_replace()
, str_replace_all()
,
str_replace_na()
sub.R
- str_sub()
trim.R
- str_trim()
, str_squish()
match.R
- str_match()
, str_match_all()
case.R
- str_to_upper()
, str_to_lower()
, str_to_title()
,
str_to_sentence()
count.R
- str_count()
dup.R
- str_dup()
length.R
- str_length()
maybe?pad.R
- str_pad()
remove.R
- str_remove()
, str_remove_all()
sort.R
- str_order()
, str_sort()
split.R
- str_split()
, str_split_fixed()
, str_split_n()
subset.R
- str_subset()
, str_which()
trunc.R
- str_trunc()
word.R
- word()
wrap.R
- str_wrap()
ignore_case
argument to fixed()
? (see stringr test-detect.R)conv.R
- str_conv()
equal.R
- str_equal()
glue.R
- str_glue()
, str_glue_data()
interp.R
- str_interp()
unique.R
- str_unique()
maybe?view.R
- str_view()
str_sub()
replacement form with functions is more limitedstr_replace()
and str_replace_all()
won’t work with formulasAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.