This method is used to search a specific substring inside a string and return index of its first character(only if the specified substring is found). If not, then it ...