str_split_by_nums(string, decimals = FALSE, leading_decimals = FALSE,
negs = FALSE)
A string.
Do you want to include the possibility of decimal numbers
(TRUE
) or not (FALSE
, the default).
Do you want to allow a leading decimal point to be the start of a number?
Do you want to allow negative numbers? Note that double negatives are not handled here (see the examples).