Make std.string.indexOf @safe
Mark std.string.indexOf as @safe
Replace trusted lambda block with trusted nested function
Add cast to Char*
Mark std.string.splitLines as @safe pure
Merge pull request #1494 from tom-tan/safe-pure-string-splitLines

Mark std.string.splitLines as @safe pure
Merge pull request #1486 from tom-tan/safe-string-indexOf

Make std.string.indexOf @safe