From: Bill Walker [mailto:Bill / Walker-VT.us]
# I need to do a .gsub or .split or the equivalent to locate
# carriage-return characters Hex 0d .
CR is represented as "\r"
0x0d.chr
#=> "\r"
so,
"test\rx".gsub(/\r/){"[]"}
#=> "test[]x"
"test\rx asdfa\rasdf".split(/\r/)
#=> ["test", "x asdfa", "asdf"]