fix Issue 10078 - std.string.indexOf fails at compile time
Merge pull request #1417 from dawgfoto/fix10078

fix Issue 10078 - std.string.indexOf fails at compile time