Flowdock
pointer=(p1) public

Set the byte position of the scan pointer.

s = StringScanner.new('test string')
s.pos = 7            # -> 7
s.rest               # -> "ring"
Show source
Register or log in to add new notes.