View source: R/clanToolsFunctions.R
extract.first.number | R Documentation |
Extract the first numbers from each individual string element in a vector.
extract.first.number(c("aa+45", "hello9abe999"))
x |
is a vector of string values |
A list with the numbers ($number) and the remaining strings after the number ($rest.string).
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.