update
This commit is contained in:
parent
1f1ad49427
commit
6f050a029e
2496 changed files with 37609 additions and 3031 deletions
4
Task/String-length/Ruby/string-length-4.rb
Normal file
4
Task/String-length/Ruby/string-length-4.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
s = "møøse"
|
||||
puts "Byte length: %d" % s.bytesize
|
||||
puts "Character length: %d" % s.length
|
||||
Loading…
Add table
Add a link
Reference in a new issue