str = orig.chomp; # chomp()s copy of orig, stores in str orig.chomp!; # chomp()s orig in-place