Use string functions instead of regex's in the bob exercise