We can also find the index of a certain character or string in a string.

Right on! We call IndexOf () from the original string and pass it the char or string-type value we're looking for.

The IndexOf () method gives the index of the character or first character of a searched string. The index won't be a string or a bool right?