Check If a Word is a Prefix of Any Word in a Sentence
Check If a Word is a Prefix of Any Word in a Sentence asks you to find the first word that starts with the search word and return its one-based position, or negative one when no match exists.
We'll cover the following...
We'll cover the following...
Statement
You are given a sentence containing words separated by single spaces and a searchWord. ...