File: //usr/share/ri/3.0.0/system/StringScanner/charpos-i.ri
U:RDoc::AnyMethod[iI"charpos:ETI"StringScanner#charpos;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"XReturns the character position of the scan pointer. In the 'reset' position, this ;TI"Rvalue is zero. In the 'terminated' position (i.e. the string is exhausted), ;TI"*this value is the size of the string.;To:RDoc::Markup::BlankLine o;
; [I"4In short, it's a 0-based index into the string.;T@o:RDoc::Markup::Verbatim; [
I",s = StringScanner.new("abcädeföghi")
;TI" s.charpos # -> 0
;TI"'s.scan_until(/ä/) # -> "abcä"
;TI" s.pos # -> 5
;TI"s.charpos # -> 4;T:@format0:
@fileI"ext/strscan/strscan.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"StringScanner;TcRDoc::NormalClass00