Learn R Programming

⚠️There's a newer version (1.8.4) of this package.Take me there.

stringi (version 1.1.3)

Character String Processing Facilities

Description

Allows for fast, correct, consistent, portable, as well as convenient character string/text processing in every locale and any native encoding. Owing to the use of the ICU library, the package provides R users with platform-independent functions known to Java, Perl, Python, PHP, and Ruby programmers. Among available features there are: pattern searching (e.g., with ICU Java-like regular expressions or the Unicode Collation Algorithm), random string generation, case mapping, string transliteration, concatenation, Unicode normalization, date-time formatting and parsing, etc.

Copy Link

Version

Install

install.packages('stringi')

Monthly Downloads

1,022,633

Version

1.1.3

License

file LICENSE

Last Published

March 21st, 2017

Functions in stringi (1.1.3)

stri_enc_mark

Get Declared Encodings of Each String
stringi-locale

Locales and
stringi-search

String Searching
stringi-encoding

Character Encodings and
stri_enc_list

List Known Character Encodings
stri_escape_unicode

Escape Unicode Code Points
stri_locale_set

Set or Get Default Locale in
stri_opts_regex

Generate a List with Regex Matcher Settings
stri_subset

Select Elements that Match a Given Pattern
stri_extract_all

Extract Occurrences of a Pattern
stri_order

Ordering Permutation and Sorting
stri_timezone_info

[DRAFT API] Query a Given Time Zone
stri_trans_general

General Text Transforms, Including Transliteration
stri_trans_list

List Available Text Transforms and Transliterators
stri_numbytes

Count the Number of Bytes
stri_opts_brkiter

Generate a List with BreakIterator Settings
stri_replace_all

Replace Occurrences of a Pattern
stri_replace_na

Replace Missing Values in a Character Vector
stri_trans_tolower

Transform String with Case Mapping
stri_trans_char

Translate Characters
stringi-search-charclass

Character Classes in
stringi-search-coll

Locale-Sensitive Text Searching in
stri_compare

Compare Strings with or without Collation
stri_detect

Detect a Pattern Match
stri_count

Count the Number of Pattern Matches
stri_dup

Duplicate Strings
stri_enc_toutf8

Convert Strings To UTF-8
stri_encode

Convert Strings Between Given Encodings
stri_read_lines

[DRAFT API] Read Text Lines from a Text File
stri_startswith

Determine if the Start or End of a String Matches a Pattern
stri_read_raw

[DRAFT API] Read Whole Text File as Raw
stri_stats_general

General Statistics for a Character Vector
stri_join_list

Concatenate Strings in a List
stri_join

Concatenate Character Vectors
stri_locale_list

List Available Locales
stri_locale_info

Query Given Locale
stri_opts_collator

Generate a List with Collator Settings
stri_info

Query Default Settings for
stri_enc_detect2

[DRAFT API] Detect Locale-Sensitive Character Encoding
stri_length

Count the Number of Code Points
stri_enc_isutf8

Check If a Data Stream Is Possibly in UTF-8