Mega Code Archive
Categories
/
Ruby
/
String
Splitting Strings into Arrays with scan
puts "This is a test".scan(/\w/).join(',')