Added iterator methods for String objects