class

Bidi::Utf8IndexLenIter

Inherits Iterator < Enumerable < Reference < Object

Iterator over (UTF-8) string slices returning (index, char_len) tuple.

Constructors

new(text : String)
Source

Instance methods

next

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.

Source