Mega Code Archive

 
Categories / Ruby / String
 

Returning the length of each word

"In the early".split.each {     |p| print p.length, " "  }