matched()
Instance Public methods
Returns the last matched string.
1 2 3 | s = StringScanner. new ( 'test string' ) s.match?(/\w+/) # -> 4 s.matched # -> "test" |
Returns the last matched string.
1 2 3 | s = StringScanner. new ( 'test string' ) s.match?(/\w+/) # -> 4 s.matched # -> "test" |
Designed by : w10schools
service@w10schools.com
Please login to continue.