Returns letters not used in strings
unused_letters(
s,
n = 1,
avoid_strifrtf_internal = TRUE,
as_number = FALSE,
as_vector = FALSE
)
unsed characters, format depends on as_number
and as_vector
arguments
character vector
number of letters to return
If TRUE
, letters used in the package's internal process are also regarded as "used".
if TRUE
, return unicode numbers instead of letters itself
if FALSE
(and as_number
is FALSE
), return
a single concatenated character, otherwise returns a character vector
This function can be useful when some special characters must be temporarily converted to another letter without being confused with the same letters used elsewhere.
Letters are first searched from \u0001
upto \uffff
.
Do not specify too large n
; An error is raised if a sufficient number of unsed letters are not found.