pos=(n)
Instance Public methods
Set the byte position of the scan pointer.
1 2 3 | s = StringScanner. new ( 'test string' ) s.pos = 7 # -> 7 s.rest # -> "ring" |
Set the byte position of the scan pointer.
1 2 3 | s = StringScanner. new ( 'test string' ) s.pos = 7 # -> 7 s.rest # -> "ring" |
Designed by : w10schools
service@w10schools.com
Please login to continue.