Name
playoutiter:GetIndex -- get current byte index
Synopsis
idx = playoutiter:GetIndex()
Function
Gets the current byte index.

Note that iterating forward by char moves in visual order, not logical order, so indices may not be sequential. Also, the index may be equal to the length of the text in the layout, if on the Nil run (see playoutiter:GetRun()).

Inputs
none

Results
idx
current byte index

Show TOC