inline new (s:String, beginIndex:Int, endIndex:Int)
endIndex:Int
index:Int
string:String
inline hasNext ():Bool
inline next ():Int