W3cubDocs

/Haxe

StringIterator

package haxe.iterators

Available on all platforms

This iterator can be used to iterate over char codes in a string.

Note that char codes may differ across platforms because of different internal encoding of strings in different of runtimes.

Constructor

inlinenew(s:String)

Create a new StringIterator over String s.

Methods

inlinehasNext():Bool

See Iterator.hasNext

inlinenext():Int

See Iterator.next

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/iterators/StringIterator.html