escapeSingleAndDoubleQuotes method

String escapeSingleAndDoubleQuotes()

Implementation

String escapeSingleAndDoubleQuotes() {
  return replaceAll("'", "\\'").replaceAll('"', '\\"');
}