Optimize String::startsWith, String::endsWith and String::trimFirstStr