checkAnd static method

String checkAnd(
  1. String text
)

Implementation

static String checkAnd(String text) {
  String textb = text.replaceAll("&", "&");
  String texta = textb.replaceAll("'", "\'");
  String br = texta.replaceAll("<br />", "\n");
  String nultext = br.replaceAll("null", "");
  return nultext;
}