VaKeR CYBER ARMY
Logo of a company Server : Apache
System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User : vapecompany ( 2719)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/opt/alt/ruby18/share/ri/1.8/system/String/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/opt/alt/ruby18/share/ri/1.8/system/String/count-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Each <em>other_str</em> parameter defines a set of characters to count. The intersection of these sets defines the characters to count in <em>str</em>. Any <em>other_str</em> that starts with a caret (^) is negated. The sequence c1--c2 means all characters between c1 and c2.
- !ruby/struct:SM::Flow::VERB 
  body: "   a = &quot;hello world&quot;\n   a.count &quot;lo&quot;            #=&gt; 5\n   a.count &quot;lo&quot;, &quot;o&quot;       #=&gt; 2\n   a.count &quot;hello&quot;, &quot;^l&quot;   #=&gt; 4\n   a.count &quot;ej-m&quot;          #=&gt; 4\n"
full_name: String#count
is_singleton: false
name: count
params: |
  str.count([other_str]+)   => fixnum

visibility: public

VaKeR 2022