Description Usage Arguments Details Value See Also Examples
This function checks if any character matches a falls into a given character class (e.g. letters, digits, or white spaces).
1 |
str |
character vector to search in |
pattern |
character vector; identifiers of character classes, see stringi-search-charclass |
Vectorized over str
and pattern
.
Returns a logical vector.
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
1 | stri_detect_charclass(c("stRRRingi","REXAMINE","123"), c("Ll", "Lu", "Zs"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.