SkillAgentSearch skills...

Strex

Extra string manipulation functions not contained in stringr or stringi.

Install / Use

/learn @rorynolan/Strex
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<!-- README.md is generated from README.Rmd. Please edit that file -->

strex <img src="man/figures/logo.png" align="right" height=140/>

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.

R-CMD-check Codecov test
coverage

Project Status: Active – The project has reached a stable, usable
state and is being actively
developed. lifecycle

CRAN
status RStudio CRAN
downloads RStudio CRAN monthly
downloads

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/.

Contribution

The preferred method of contribution is by GitHub pull request.

Please note that the strex project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Related Skills

View on GitHub
GitHub Stars40
CategoryDevelopment
Updated23d ago
Forks4

Languages

R

Security Score

90/100

Audited on Mar 5, 2026

No findings