Inflearn Community Q&A
grep과 stringr에서의 코딩 순서 차이
Written on
·
219
0
grep에서는 소괄호 뒤에 찾고자 하는 값을 먼저 넣었는데 왜 str_count에서는 찾는 값이 아닌 toupper(cars)를 먼저 넣나요?
e.g.
grep("t", tolower(cars), value=TRUE)
str_count(toupper(cars), "TOYOTA")
R
Answer
This question is waiting for answers
Be the first to answer!





