Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
Ruby
1.2K+ articles
Ruby-Methods
926+ articles
Ruby String Scanner-class
39 posts
Recent Articles
Popular Articles
Ruby | StringScanner pointer function
Last Updated: 09 December 2019
StringScanner#pointer() : pointer() is a StringScanner class method which returns the byte position of the scan pointerSyntax: StringScanner.pointer()Parameter: StringScan...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner peep function
Last Updated: 09 December 2019
StringScanner#peep() : peep() is a StringScanner class method which returns a string corresponding to string[pos, len].Syntax: StringScanner.peep()Parameter: StringScanner...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner peek function
Last Updated: 09 December 2019
StringScanner#peek() : peek() is a StringScanner class method which returns a string corresponding to string[pos, len].Syntax: StringScanner.peek()Parameter: StringScanner...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner matched_size function
Last Updated: 06 August 2021
StringScanner#matched_size() : matched_size() is a StringScanner class method which returns the size of the most recent matchSyntax: StringScanner.matched_size()Parameter:...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner matched? function
Last Updated: 09 December 2019
StringScanner#matched?() : matched?() is a StringScanner class method which checks whether the last match was successful.Syntax: StringScanner.matched?()Parameter: StringS...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner matched function
Last Updated: 09 December 2019
StringScanner#matched() : matched() is a StringScanner class method which returns the last matched string.Syntax: StringScanner.matched()Parameter: StringScanner valuesRet...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner match? function
Last Updated: 10 September 2021
StringScanner#match?() : match?() is a StringScanner class method which checks whether the given pattern is matched from the current scan pointer. Syntax: StringScanner.ma...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner inspect function
Last Updated: 09 December 2019
StringScanner#inspect() : inspect() is a StringScanner class method which returns string that represents the StringScanner object showing different values.Syntax: StringSc...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner get_byte function
Last Updated: 09 December 2019
StringScanner#get_byte() : get_byte() is a StringScanner class method which returns the byte of pointer on the StringScanner.Syntax: StringScanner.get_byte()Parameter: Str...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner getch function
Last Updated: 09 December 2019
StringScanner#getch() : getch() is a StringScanner class method which returns the byte of pointer on the StringScanner.Syntax: StringScanner.getch()Parameter: StringScanne...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner getbyte function
Last Updated: 09 December 2019
StringScanner#getbyte() : getbyte() is a StringScanner class method which returns the byte of pointer on the StringScanner.Syntax: StringScanner.getbyte()Parameter: String...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner restsize function
Last Updated: 09 December 2019
StringScanner#restsize() : restsize() is a StringScanner class method which returns the size of the bytes after the string position.Syntax: StringScanner.restsize()Paramet...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner rest? function
Last Updated: 09 December 2019
StringScanner#rest?() : rest?() is a StringScanner class method which checks if there is more data in the stringSyntax: StringScanner.rest?()Parameter: StringScanner value...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner reset function
Last Updated: 09 December 2019
StringScanner#reset() : reset() is a StringScanner class method which reset the scan pointer (index 0) and clear matching data.Syntax: StringScanner.reset()Parameter: Stri...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
Ruby | StringScanner rest function
Last Updated: 10 December 2019
StringScanner#rest() : rest() is a StringScanner class method which returns the “rest” of the string (i.e. everything after the scan pointer).Syntax: StringScanner.rest()P...
read more
Ruby
Ruby-Methods
Ruby String Scanner-class
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !