Mega Code Archive
Categories
/
Ruby
/
String
Scan( )
"This is a test".scan(/../) { |x| puts x }