W3cubDocs

/Haxe

StringKeyValueIterator

package haxe.iterators

Available on all platforms

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

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

Constructor

inlinenew(s:String)

Create a new StringKeyValueIterator over String s.

Methods

inlinehasNext():Bool

See KeyValueIterator.hasNext

inlinenext():{value:Int, key:Int}

See KeyValueIterator.next

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