foreach loop with string value.