powered by
This function aims to extract number(s) before capital character
.extrNumHeadingCap(x)
This function returns a numeric vector
character vector to be treated
grep, nchar
grep
nchar
.extrNumHeadingCap(" 1B ")
Run the code above in your browser using DataLab