compare string using facets