⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
String
/
Edit File: downcase-i.ri
U:RDoc::AnyMethod[iI" downcase:ETI"String#downcase;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"QReturns a copy of <i>str</i> with all uppercase letters replaced with their ;TI"Nlowercase counterparts. Which letters exactly are replaced, and by which ;TI"Nother letters, depends on the presence or absence of options, and on the ;TI"+encoding+ of the string.;To:RDoc::Markup::BlankLine o; ; [I"0The meaning of the +options+ is as follows:;T@o:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I"No option ;T; [o; ; [ I"<Full Unicode case mapping, suitable for most languages ;TI"A(see :turkic and :lithuanian options below for exceptions). ;TI"FContext-dependent case mapping as described in Table 3-14 of the ;TI"1Unicode standard is currently not supported.;To;;[I":ascii ;T; [o; ; [I"COnly the ASCII region, i.e. the characters ``A'' to ``Z'' and ;TI"#``a'' to ``z'', are affected. ;TI":This option cannot be combined with any other option.;To;;[I" :turkic ;T; [o; ; [I"=Full Unicode case mapping, adapted for Turkic languages ;TI"L(Turkish, Azerbaijani, ...). This means that upper case I is mapped to ;TI"%lower case dotless i, and so on.;To;;[I":lithuanian ;T; [o; ; [I"LCurrently, just full Unicode case mapping. In the future, full Unicode ;TI"Lcase mapping adapted for Lithuanian (keeping the dot on the lower case ;TI"*i even if there is an accent on top).;To;;[I":fold ;T; [o; ; [ I"POnly available on +downcase+ and +downcase!+. Unicode case <b>folding</b>, ;TI";which is more far-reaching than Unicode case mapping. ;TI"DThis option currently cannot be combined with any other option ;TI"?(i.e. there is currently no variant for turkic languages).;T@o; ; [I"MPlease note that several assumptions that are valid for ASCII-only case ;TI"Mconversions do not hold for more general case conversions. For example, ;TI"Mthe length of the result may not be the same as the length of the input ;TI"F(neither in characters nor in bytes), some roundtrip assumptions ;TI"K(e.g. str.downcase == str.upcase.downcase) may not apply, and Unicode ;TI"Qnormalization (i.e. String#unicode_normalize) is not necessarily maintained ;TI" by case mapping operations.;T@o; ; [I"FNon-ASCII case mapping/folding is currently supported for UTF-8, ;TI"BUTF-16BE/LE, UTF-32BE/LE, and ISO-8859-1~16 Strings/Symbols. ;TI"6This support will be extended to other encodings.;T@o:RDoc::Markup::Verbatim; [I"#"hEllO".downcase #=> "hello";T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"Ostr.downcase -> new_str str.downcase([options]) -> new_str ;T0[ I"(*args);T@WFI"String;TcRDoc::NormalClass00
Simpan