Mega Code Archive
Categories
/
Ruby
/
String
Normalize Ruby source code by replacing tabs with spaces
myString = "asdf\tasdf" myString.gsub("\t", " ")