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
-------------------------------------------------------------------------------
Research Scholar
Computer Science & Information Systems Department
BITS Pilani Hyderabad Campus

	[[alternative HTML version deleted]]

