Skip to functions

R String and Function Tools

Browse 68 R text, regex, formatting and encoding tools with live browser results, examples, and language references.

Many R text functions vectorize over a character vector. Set useBytes explicitly where the function supports it and byte matching matters. R reference

Case & whitespace

Search & replace

Split, join & measure

Encoding & escaping

Regex & parsing

Formatting & checksums