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

beg2char function #246

Open zx8754 opened 6 years ago

zx8754 commented 6 years ago

See relevant SO post: https://stackoverflow.com/q/51550956/680068

# input:
x <-"/index.php/front/yellow/searchHeading/heading/926/h_name/Architects/keyword/A//"

beg2char(x, "keyword")

# output:
# [1] "/in"

# expected output:
# "/index.php/front/yellow/searchHeading/heading/926/h_name/Architects/"