Displaying 1 result from an estimated 1 matches for "borang".
Did you mean:
boring
2013 Sep 30
1
str_count counts the substring
I am trying to count the number of times a word occurs in a string.
and using str_count function from the package stringr. This function counts
the substrings as well.
Is there a way in which I can exclude the substring count and just take the
exact match.
Thanks in advance.
--
Thanks and Regards
Agrima Srivastava
-------------------------------------------------------------------------------