⚠️There's a newer version (2.0.0) of this package. Take me there.

strex

There are some things that I wish were easier with the stringr or stringi packages. The foremost of these is the extraction of numbers from strings. stringr lets you figure this out the regex for yourself; strex takes care of this for you. There are many more useful functionalities in strex. In particular, there’s a match_arg() function which is more flexible than the base match.arg(). Contributions to this package are encouraged: it is intended as a miscellany of string manipulation functions which cannot be found in stringi or stringr.

Installation

You can install the release version of strex from CRAN with:

install.packages("strex")

You can install the development version of strex from GitHub with:

devtools::install_github("rorynolan/strex")

How to use the package

See the package website at https://rorynolan.github.io/strex.

Copy Link

Version

Down Chevron

Install

install.packages('strex')

Monthly Downloads

2,602

Version

0.1.3

License

GPL-3

Maintainer

Last Published

November 30th, 2018

Functions in strex (0.1.3)