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

The use of canFind instead of indexOf is more idiomatic.

Not exactly a necessary commit, just something that popped up and irked me while I was snooping around.