Checking if a string contains a string?

evilrat evilrat666 at gmail.com
Wed Oct 16 23:32:46 PDT 2013


On Thursday, 17 October 2013 at 06:27:19 UTC, Jeremy DeHaan wrote:
> Maybe I am just tired or something, but I tried searching for a 
> way that is already included in phobos for checking if a string 
> contains another string and couldn't find anything. I managed 
> to write my own function for doing this, but I figured I would 
> ask in case I am crazy and just missed a built in method for 
> doing this.

have you tried std.string.indexOf ?


More information about the Digitalmars-d-learn mailing list