oveloaded find() for string and char pointer