GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
Fixes IDEA-191536 More redundant string operations with indexOf lastIndexOf startsWith