rmControls function

String rmControls(
  1. String str
)

Deletes the carriage and colors return from strings

Implementation

String rmControls(String str) {
  var result = str.replaceAll(GgStatusPrinter.carriageReturn, '');
  result = rmConsoleColors(result);
  return result;
}