x1 <- c("10fg WW","xx 10fg 3pW"," 1pg 2.0W")
checkUnitPrefix(x1)
## different separators between digit and prefix:
x2 <- c("10fg WW","xx 8_fg 3pW"," 1 pg-2.0W")
checkUnitPrefix(x2, stringentSearch=TRUE)
checkUnitPrefix(x2, stringentSearch=FALSE)
x4 <- c("CT_mixture_QY_50_amol_CN_UPS1_CV_Standards_Research_Group",
"CT_mixture_QY_5_fmol_CN_UPS1_CV_Standards_Research_Group")
Run the code above in your browser using DataLab