| extract_non_numerics {filesstrings} | R Documentation |
See strex::str_extract_non_numerics()
extract_non_numerics(string, decimals = FALSE, leading_decimals = FALSE, negs = FALSE) nth_non_numeric(string, n, decimals = FALSE, leading_decimals = FALSE, negs = FALSE) first_non_numeric(string, decimals = FALSE, leading_decimals = FALSE, negs = FALSE) last_non_numeric(string, decimals = FALSE, leading_decimals = FALSE, negs = FALSE)
string |
A string. |
decimals |
Do you want to include the possibility of decimal numbers
( |
leading_decimals |
Do you want to allow a leading decimal point to be the start of a number? |
negs |
Do you want to allow negative numbers? Note that double negatives are not handled here (see the examples). |
n |
The index of the number (or non-numeric) that you seek. Negative
indexing is allowed i.e. |