Learn R Programming

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

stringi (version 0.2-5)

Character string processing facilities

Description

stringi allows for fast, correct, consistent, and convenient character string/text processing in each locale and any native encoding. Thanks 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.

Copy Link

Version

Install

install.packages('stringi')

Monthly Downloads

1,258,679

Version

0.2-5

License

file LICENSE

Maintainer

Marek Gagolewski

Last Published

May 16th, 2014

Functions in stringi (0.2-5)

stri_count_fixed

Count the Number of Fixed Pattern Matches
stri_enc_toutf32

Convert Strings To UTF-32
stri_locate_all_charclass

Locate Occurrences of a Character Class
%<%

Compare Strings with or without Collation
stri_replace_all_regex

Replace Occurrences of a Regex Pattern Matches
stri_enc_isascii

Check If a Data Stream Is Possibly in ASCII
stri_duplicated

Determine Duplicated Elements
stri_locate_all_regex

Locate Occurrences of a Regex Pattern
stri_trim_both

Trim Characters from the Left and/or Right Side of a String
stri_prepare_arg_string

Prepare a String Vector Argument [internal]
stri_extract_last

Extract Last Pattern Match
stri_count_charclass

Count the Number of Character Class Matches
stri_trans_nfc

Perform or Check For Unicode Normalization
stri_trans_list

List Available Transforms
stri_detect_coll

Detect a Canonically Equivalent Pattern Match
stri_trans_tolower

Transform String with Case Mapping
stri_enc_isutf8

Check If a Data Stream Is Possibly in UTF-8
stri_enc_detect2

[DRAFT API] Detect Locale-Sensitive Character Encoding
stri_enc_tonative

Convert Strings To Native Encoding
stri_enc_detect

[DRAFT API] Detect Character Set and Language
stri_count_regex

Count the Number of Regex Pattern Matches
stringi-arguments

Passing Arguments to Functions in stringi
stri_extract_first

Extract First Pattern Match
stri_enc_set

Set or Get Default Character Encoding in stringi
stri_match_last

Extract Last Regex Pattern Matches, Together with Capture Groups
stri_info

Query Default Settings for stringi
stri_extract_all_coll

Extract Canonically Equivalent Pattern Matches
stri_locate_all

Locate All Occurrences of a Pattern
stri_replace_all

Replace All Occurrences of a Pattern
stri_detect_charclass

Detect a Character Class Match
stri_match_all_regex

Extract Regex Pattern Matches, Together with Capture Groups
stringi-locale

Locales and stringi
stri_count_coll

Count the Number of Canonically Equivalent Pattern Matches
stri_split_regex

Split a String By Regex Pattern Matches
stri_extract_all_charclass

Extract Character Class Matches
stri_enc_fromutf32

Convert From UTF-32
stri_locate_all_fixed

Locate Occurrences of a Fixed Pattern
stri_isempty

Determine if a String is of Length Zero
stri_pad_both

Pad (Center/Left/Right Align) a String
stri_enc_isutf16be

Check If a Data Stream Is Possibly in UTF16 or UTF32
stri_dup

Duplicate Strings
stri_match

Extract Regex Pattern Matches, Together with Capture Groups
stri_enc_list

List Known Character Encodings
stri_read_lines

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

Detect a Regex Pattern Match
stri_extract_words

Extract Words from a Text
stri_unique

Extract Unique Elements
stri_replace_last

Replace Last Occurrence of a Pattern
stri_extract_all

Extract All Pattern Matches
stri_replace

Replace Occurrences of a Pattern
%+%

Concatenate Two Character Vectors
stri_read_raw

[DRAFT API] Read Whole Text File as Raw
stri_replace_all_fixed

Replace Occurrences of a Fixed Pattern Matches
stri_locale_info

Query Given Locale
stri_escape_unicode

Escape Unicode Code Points
stri_locale_list

List Available Locales
stri_opts_regex

Generate a List with Regex Matcher Settings
stri_enc_toutf8

Convert Strings To UTF-8
stri_enc_info

Query a Character Encoding
stri_join

Concatenate Character Vectors
stri_stats_general

General Statistics for a Character Vector
stri_flatten

Flatten a String
stri_split

Split a String Into Fields
stri_enc_toascii

Convert To ASCII
stri_locate_boundaries

Locate Specific Text Boundaries
stri_sub

Extract a Substring From or Replace a Substring In a Character Vector
stringi-search-charclass

Character Classes in stringi
stri_locate_words

Locate Words in a Text
stri_prepare_arg_raw

Prepare a Raw Vector Argument [internal]
stri_opts_collator

Generate a List with Collator Settings
stri_prepare_arg_logical_1

Prepare a Logical Vector Argument [Single Value] [internal]
stri_detect

Detect a Pattern Match
stri_detect_fixed

Detect a Fixed Pattern Match
stri_prepare_arg_double_1

Prepare a Numeric Vector Argument [Single Value] [internal]
stri_rand_strings

Generate Random Strings
stringi-package

THE String Processing Package
stri_encode

Convert Strings Between Given Encodings
stri_prepare_arg_logical

Prepare a Logical Vector Argument [internal]
stri_locate

Locate Occurrences of a Pattern
stringi-encoding

Character Encodings and stringi
stri_enc_mark

Get Declared Encodings of Each String
stri_locate_last

Locate Last Occurrence of a Pattern
stri_match_first

Extract First Regex Pattern Matches, Together with Capture Groups
stringi-search

String Searching
stri_replace_all_coll

Replace Occurrences of a Canonically Equivalent Pattern Matches
stri_prepare_arg_integer_1

Prepare an Integer Vector Argument [Single Value] [internal]
stri_locate_all_coll

Locate Occurrences of a Canonically Equivalent Pattern
stri_prepare_arg_string_1

Prepare a String Vector Argument [Single Value] [internal]
stri_extract

Extract Pattern Matches
stri_replace_first

Replace First Occurrence of a Pattern
stri_split_boundaries

Split a String at Specific Text Boundaries
stri_prepare_arg_integer

Prepare an Integer Vector Argument [internal]
stri_prepare_arg_double

Prepare a Numeric Vector Argument [internal]
stri_replace_all_charclass

Replace Occurrences of a Character Class
stri_match_all

Extract All Regex Pattern Matches, Together with Capture Groups
stri_split_coll

Split a String By Canonically Equivalent Pattern Matches
stri_order

Ordering Permutation and Sorting
stri_numbytes

Count the Number of Bytes
stri_length

Count the Number of Characters
stri_replace_na

Replace Missing Values in a Character Vector
stri_count

Count the Number of Pattern Matches in a String
stri_split_lines

Split a String into Text Lines
stri_extract_all_regex

Extract Regex Pattern Matches
stringi-search-regex

Regular Expressions in stringi
stri_split_fixed

Split a String By Fixed Pattern Matches
stri_install_check

Installation-Related Utilities
stri_reverse

Reverse Each String
stri_stats_latex

Statistics for a Character Vector Containing LaTeX Commands
stri_unescape_unicode

Unescape All Escape Sequences
stri_trans_general

General Text Transforms, Including Transliteration
stri_wrap

Word Wrap Text to Format Paragraphs
stri_compare

Compare Strings with or without Collation
stri_locate_first

Locate First Occurrence of a Pattern
stringi-search-fixed

Locale-Insensitive Fixed Pattern Matching in stringi
stri_rand_shuffle

Randomly Shuffle Code Points in Each String
stri_locale_set

Set or Get Default Locale in stringi
stri_write_lines

[DRAFT API] Write Text Lines to a Text File
stri_split_charclass

Split a String by a Character Class
stringi-search-coll

Locale-Sensitive Text Searching in stringi