You can get answer of this question using search function also. Please change into the given two lines and your code will work fine. The search() method searches a string for a specified value, or...