Sean O'Halpin
4/17/2008 4:25:00 PM
On Thu, Apr 17, 2008 at 4:16 PM, Bill Walker <Bill@walker-vt.us> wrote:
> I need to do a .gsub or .split or the equivalent to locate carriage-retur=
n
> characters =AD Hex 0d . How can I do this in ruby? Thanks. Bill Walke=
r
>
irb --> puts "hello\x0d".gsub(/\x0d/, '!')
hello!
Regards,
Sean