iterator for string data
implement a iterator function for strings like follows.
str = "hoge" for (ch in str) {}
implement a iterator function for strings like follows.
str = "hoge" for (ch in str) {}