I have an array with the following elements:
array = "car"
array = "bike"
array = “motorcicle”
array[n] = …
And I have a string with the following text.
"Today I went to school by car. I saw… "
What I am trying to do is that everytime the program finds one of the words
from the list in the text,
it will place an astherisc * to replace that word.
But I cannot figure out how to do this because it is an array not a regular