powered by
StrIsNumeric(x)
StrTrunc
x <- c("123", "-3.141", "foobar123") StrIsNumeric(x)
Run the code above in your browser using DataLab