stri_detect_charclass: Detect a Character Class Match

Description Usage Arguments Details Value See Also Examples

Description

This function checks if any character matches a falls into a given character class (e.g. letters, digits, or white spaces).

Usage

1

Arguments

str

character vector to search in

pattern

character vector; identifiers of character classes, see stringi-search-charclass

Details

Vectorized over str and pattern.

Value

Returns a logical vector.

See Also

Other search_charclass: stri_count_charclass; stri_extract_all_charclass, stri_extract_all_charclass, stri_extract_first_charclass, stri_extract_first_charclass, stri_extract_last_charclass, stri_extract_last_charclass; stri_locate_all_charclass, stri_locate_all_charclass, stri_locate_first_charclass, stri_locate_first_charclass, stri_locate_last_charclass, stri_locate_last_charclass; stri_replace_all_charclass, stri_replace_all_charclass, stri_replace_first_charclass, stri_replace_first_charclass, stri_replace_last_charclass, stri_replace_last_charclass; stri_split_charclass, stri_split_charclass; stri_trim, stri_trim, stri_trim_both, stri_trim_left, stri_trim_right; stringi-search-charclass; stringi-search

Other search_detect: stri_detect_fixed; stri_detect_regex; stri_detect; stringi-search

Examples

1
stri_detect_charclass(c("stRRRingi","REXAMINE","123"), c("Ll", "Lu", "Zs"))

stringi documentation built on May 2, 2019, 4:54 p.m.