replace string.find() with in