powered by
CheckEntry(obj.class, ent.str = "")
CheckEntry("numeric", "3.14ab") ## [1] "3.14" CheckEntry("integer", "3.") ## [1] "3"
Run the code above in your browser using DataLab