stringx: 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.8
Depends: R (≥ 4.1.0)
Imports: stringi (≥ 1.7.2)
Suggests: realtest (≥ 0.2.1)
Published: 2024-04-09
DOI: 10.32614/CRAN.package.stringx
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.8.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): stringx_0.2.8.tgz, r-oldrel (arm64): stringx_0.2.8.tgz, r-release (x86_64): stringx_0.2.8.tgz, r-oldrel (x86_64): stringx_0.2.8.tgz
Old sources: stringx archive


Please use the canonical form to link to this page.