⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby19
/
share
/
ri
/
1.9.1
/
system
/
String
/
Edit File: succ-i.ri
U:RDoc::AnyMethod[iI" succ:ETI"String#succ;FF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"HReturns the successor to <i>str</i>. The successor is calculated by;TI"Iincrementing characters starting from the rightmost alphanumeric (or;TI"Bthe rightmost character if there are no alphanumerics) in the;TI"Fstring. Incrementing a digit always results in another digit, and;TI"Fincrementing a letter results in another letter of the same case.;TI"FIncrementing nonalphanumerics uses the underlying character set's;TI"collating sequence.;To:RDoc::Markup::BlankLine o; ; [I"IIf the increment generates a ``carry,'' the character to the left of;TI"Eit is incremented. This process repeats until there is no carry,;TI"1adding an additional character if necessary.;T@o:RDoc::Markup::Verbatim; [I"#"abcd".succ #=> "abce" ;FI"&"THX1138".succ #=> "THX1139" ;FI"("<<koala>>".succ #=> "<<koalb>>" ;FI"&"1999zzz".succ #=> "2000aaa" ;FI"'"ZZZ9999".succ #=> "AAAA0000" ;FI"!"***".succ #=> "**+";F: @file0I"2str.succ -> new_str str.next -> new_str ;T0[ I"();FI" string.c;T
Simpan