Mega Code Archive

 
Categories / Ruby / String
 

Using the length Method of the String Class

puts "This is a test".length