u_char_match {Unicode} | R Documentation |
Unicode Character Matching
Description
Match Unicode characters to Unicode character ranges.
Usage
u_char_match(x, table, nomatch = NA_integer_)
x %uin% table
Arguments
x |
an R object which can be coerced to a |
table |
an R object coercible to a |
nomatch |
the value to be returned (after coercion to integer) in the case when no match is found. |
Details
u_char_match
returns a vector of the positions of the (first)
matches of the Unicode characters given by x
(after coercion
via as.u_char
) to the Unicode character ranges given by
table
(after coercion via as.u_char_range
).
%uin%
returns a logical vector indicating if there was a
match or not.
[Package Unicode version 15.1.0-1 Index]