Replace custom containsString/findSubstring helpers with stdlib. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>