str_split_by_nums

0th

Percentile

Split a string by its numeric characters.

See strex::str_split_by_nums().

Usage
str_split_by_nums(string, decimals = FALSE, leading_decimals = FALSE,
  negs = FALSE)
Arguments
string

A string.

decimals

Do you want to include the possibility of decimal numbers (TRUE) or not (FALSE, the default).

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).

Aliases
  • str_split_by_nums
Documentation reproduced from package filesstrings, version 3.0.0, License: GPL-3

Community examples

Looks like there are no examples yet.