How to iterate over strings? Since Strings are not iterable, functions like _.map don't work. I was thinking maybe this library could define a new class like
class CharList with IterableMixin<String>
{
List<String> charList;
Char (String str)
{
charList = str.split("");
}
//Implement Iterable Interface
}
How to iterate over strings? Since Strings are not iterable, functions like
_.map
don't work. I was thinking maybe this library could define a new class likeso you can get consistent iterables from Strings.