trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

replace_ordinal doesn't work past 99th #248

Open macfarll opened 5 years ago

macfarll commented 5 years ago

The function replace_ordinal works fine for any number with two digits or less, but doesn't work past that.

Works: replace_ordinal("this is 91st")

Doesn't work: replace_ordinal("this is 101st")