Mega Code Archive

 
Categories / Ruby / String
 

Scan() string with hex value

french = "\xc3\xa7a va" french.scan(/./) { |c| puts c }