THE String Processing Package for R
Documentation is available at https://stringi.gagolewski.com/.
Tutorial is available at https://stringi.gagolewski.com/_static/vignette/stringi.pdf.
stringi (pronounced “stringy”, IPA [strinɡi]) is THE R package for string/text/natural language processing. It is very fast, consistent, convenient, and — thanks to the ICU – International Components for Unicode library — portable across all locales and platforms.
Available features include:
- string concatenation, padding, wrapping,
- substring extraction,
- pattern searching (e.g., with Java-like regular expressions),
- collation and sorting,
- random string generation,
- case mapping,
- string transliteration,
- Unicode normalisation,
- date-time formatting and parsing,
and many more.
Package Maintainer: Marek Gagolewski
Authors and Contributors: Marek Gagolewski, with contributions from Bartłomiej Tartanus and many others.
The package's API was inspired by Hadley Wickham's stringr package (and since 2015 stringr powered by stringi).
CRAN Entry: https://cran.r-project.org/web/packages/stringi/
System Requirements: R >= 2.14, ICU4C >= 55 (refer to the INSTALL file for more details)
License: stringi's source code is licensed under the open source BSD-3-clause, for more details see the LICENSE file.
This git repository also contains a custom subset of ICU4C 55.1 and ICU4C 61.1 source code which is copyrighted by Unicode and others. A binary version of the Unicode Character Database is included. For more details on copyright holders see the LICENSE file. The ICU project is covered by the ICU license — a simple, permissive non-copyleft free software license, compatible with the GNU GPL. The ICU license is intended to allow ICU to be included both in free software projects and in proprietary or commercial products.
Changes: see the NEWS file.