check if the string contains the seed
bool contains(String str, seed) { return str.indexOf(seed.toString()) >= 0; }