I am looking for a way to find the number of sentence occurrences in another sentence
For example (I have):
Do you have a different language or operating system? JavaScript is currently disabled in your browser and is required to
and I am searching for:
a
This should present me the result of:
result = 1
because if you count a as a word and not as a char you will get 1 as result:
"Do you have a different language or operating system? JavaScript is currently disabled in your browser and is required to" Din.