stringx: Drop-in Replacements for Base String Functions Powered by 'stringi'

English is the native language for only 5% of the World population. Also, only 17% of us can understand this text. Moreover, the Latin alphabet is the main one for merely 36% of the total. The early computer era, now a very long time ago, was dominated by the US. Due to the proliferation of the internet, smartphones, social media, and other technologies and communication platforms, this is no longer the case. This package replaces base R string functions (such as grep(), tolower(), sprintf(), and strptime()) with ones that fully support the Unicode standards related to natural language and date-time processing. It also fixes some long-standing inconsistencies, and introduces some new, useful features. Thanks to 'ICU' (International Components for Unicode) and 'stringi', they are fast, reliable, and portable across different platforms.

Version: 0.2.2
Depends: R (≥ 4.1.0)
Imports: stringi (≥ 1.7.2)
Suggests: realtest (≥ 0.2.1)
Published: 2021-09-03
Author: Marek Gagolewski ORCID iD [aut, cre, cph]
Maintainer: Marek Gagolewski <marek at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Citation: stringx citation info
Materials: NEWS
CRAN checks: stringx results


Reference manual: stringx.pdf


Package source: stringx_0.2.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel: not available
macOS binaries: r-release (arm64): stringx_0.2.2.tgz, r-release (x86_64): stringx_0.2.2.tgz, r-oldrel: not available
Old sources: stringx archive


Please use the canonical form to link to this page.