ruby how to check length of string code example Example: ruby check length of string "Hello World".length