📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 07:43:38
📂
/ (Root)
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
String
📍 /opt/alt/ruby27/share/ri/system/String
🔄 Refresh
✏️
Editing: each_codepoint-i.ri
Read Only
U:RDoc::AnyMethod[iI"each_codepoint:ETI"String#each_codepoint;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"APasses the Integer ordinal of each character in <i>str</i>, ;TI"Malso known as a <i>codepoint</i> when applied to Unicode strings to the ;TI"Ogiven block. For encodings other than UTF-8/UTF-16(BE|LE)/UTF-32(BE|LE), ;TI"@values are directly derived from the binary representation ;TI"of each character.;To:RDoc::Markup::BlankLine o; ; [I"=If no block is given, an enumerator is returned instead.;T@o:RDoc::Markup::Verbatim; [I"6"hello\u0639".each_codepoint {|c| print c, ' ' } ;T:@format0o; ; [I"<em>produces:</em>;T@o;; [I"104 101 108 108 111 1593;T; 0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"ostr.each_codepoint {|integer| block } -> str str.each_codepoint -> an_enumerator ;T0[ I"();T@FI"String;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel