check each value on the string