powered by
isYear(x, with_y=TRUE)
x<-c("1955","y1853","12a4") isYear(x, with_y=TRUE) isYear(x, with_y=FALSE)
Run the code above in your browser using DataLab