Implement LIKE and SIMILAR.