Changed that subtext would be provided for indexOf not to constructor of class FindString