[R] find numbers in a line with letters

Martin Batholdy batholdy at googlemail.com
Thu Aug 27 00:38:55 CEST 2009


hi,

is there an easy way to extract numbers from a string?

for example I have;
"this Item costs 3.32 Dollars"

is there an easy way to extract the 3.32 as a number?


thanks!




More information about the R-help mailing list