I have a huge String containing many many lines and there are several lines inluding a carrieage return which shouldnt be there! I want to remove the carriage returns and leave the line feeds!
I alread tryed this:
string.gsub "\r", ""
But it didnt do anything!
// Your right I had another problem that was related to this sry…
Use the destructive version of the method to actually modify the variable
string.