icu: Basic string processing

Description Usage Arguments Examples

Description

Functions to manage and manipulate unicode strings.

Usage

1
2
3

Arguments

x

a character vector

Examples

1
2
3
4
5
6
7
# Show native encoding
icu::get_native_enc()
utils::localeToCharset()
# Count length of strings
x <- c("Paris", "Z<c3><bc>rich", "\346\235\261\344\272\254")
icu::stri_length(x)
base::nchar(x)

jeroenooms/icu documentation built on May 17, 2017, 6:18 p.m.