Server IP : 66.29.132.122 / Your IP : 3.21.159.216 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/String/ |
Upload File : |
--- !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 = "hello world"\n a.count "lo" #=> 5\n a.count "lo", "o" #=> 2\n a.count "hello", "^l" #=> 4\n a.count "ej-m" #=> 4\n" full_name: String#count is_singleton: false name: count params: | str.count([other_str]+) => fixnum visibility: public