Added builting comparators for the search() method for strings.