Extracted string comparison.