bytesize

str.bytesize รข integer
Instance Public methods

Returns the length of str in bytes.

"\x80\u3042".bytesize  #=> 4
"hello".bytesize       #=> 5
doc_ruby_on_rails
2015-05-15 14:11:44
Comments
Leave a Comment

Please login to continue.