A
Amanda ..
So I want to be able to take a string with underscores in it ('_') and
replace those with spaces...can somebody please tell me why this isn't
working:
if cal_name.include? '_'
cal_name.sub!('_', ' ')
end
I can't see why this isn't doing the trick...but maybe I'm doing
something wrong. If anyone could give me any idea of what's wrong..or
even a different approach, that would be great!
Thanks
replace those with spaces...can somebody please tell me why this isn't
working:
if cal_name.include? '_'
cal_name.sub!('_', ' ')
end
I can't see why this isn't doing the trick...but maybe I'm doing
something wrong. If anyone could give me any idea of what's wrong..or
even a different approach, that would be great!
Thanks