about_stringi: THE String Processing Package


stringi is THE R package for fast, correct, consistent, and convenient string/text manipulation. It gives predictable results on every platform, in each locale, and under any native character encoding.

Keywords: R, text processing, character strings, internationalization, localization, ICU, ICU4C, i18n, l10n, Unicode.

Homepage: https://stringi.gagolewski.com/

License: The BSD-3-clause license for the package code, the ICU license for the accompanying ICU4C distribution, and the UCD license for the Unicode Character Database. See the COPYRIGHTS and LICENSE file for more details.


Manual pages on general topics:

  • about_encoding – character encoding issues, including information on encoding management in stringi, as well as on encoding detection and conversion.

  • about_locale – locale issues, including locale management and specification in stringi, and the list of locale-sensitive operations. In particular, see stri_opts_collator for a description of the string collation algorithm, which is used for string comparing, ordering, ranking, sorting, case-folding, and searching.

  • about_arguments – information on how stringi handles the arguments passed to its function.

Facilities available

Refer to the following:

Note that each man page provides many further links to other interesting facilities and topics.


Marek Gagolewski, with contributions from Bartek Tartanus and many others. ICU4C was developed by IBM, Unicode, Inc., and others.


stringi Package homepage, https://stringi.gagolewski.com/

ICU – International Components for Unicode, https://icu.unicode.org/

ICU4C API Documentation, https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/

The Unicode Consortium, https://home.unicode.org/

UTF-8, a transformation format of ISO 10646 – RFC 3629, https://tools.ietf.org/html/rfc3629