search for: ibuprofin

Displaying 1 result from an estimated 1 matches for "ibuprofin".

Did you mean: ibuprofen
2006 Apr 04
1
extending strsplit(): supply pattern to keep, not to split by
...he following to get a list of all the numbers in a string (done in a version of strsplit() I'm working on for S-PLUS): > strsplit("1.2, 34, 1.7e-2", split=number.pattern,keep=TRUE) [[1]]: [1] "1.2" "34" "1.7e-2" > strsplit("Ibuprofin 200mg", split=number.pattern,keep=TRUE) [[1]]: [1] "200" Is this a reasonable thing to want strsplit to do? Is this a reasonable parameterization of it? ---------------------------------------------------------------------------- Bill Dunlap Insightful Corporation bill at ins...