Removes std.string.indexOf in favour of std.algorithm.canFind

The indexOf functionality here seems a bit over the top
given you do not actually care about the index in any way.