peek(len)
Instance Public methods
Extracts a string corresponding to string[pos,len]
, without
advancing the scan pointer.
1 2 3 | s = StringScanner. new ( 'test string' ) s.peek( 7 ) # => "test st" s.peek( 7 ) # => "test st" |
Please login to continue.