@Test public void removeEscapedChars() throws Exception { assertEquals(StringEscapeUtilities.removeEscapedChars("\\a\\b\\cdea\\a\\ac\\a\\a\\a\\a", "ab".toCharArray()), "\\cdeac"); }
@NotNull public static String removeEscapedChars(@NotNull final String string, final char[] toRemove) { String toReturn = string; for (char character : toRemove) { toReturn = removeEscapedChar(toReturn, character); } return toReturn; }
StringEscapeUtilities extends StringEscapeUtils { @NotNull public static String removeEscapedChars(@NotNull final String string, final char[] toRemove) { String toReturn = string; for (char character : toRemove) { toReturn = removeEscapedChar(toReturn, character); } return toReturn; } }
StringEscapeUtilities extends StringEscapeUtils { @NotNull public static String removeEscapedChars(@NotNull final String string, final char[] toRemove) { String toReturn = string; for (char character : toRemove) { toReturn = removeEscapedChar(toReturn, character); } return toReturn; } private  StringEscapeUtilities(); }
StringEscapeUtilities extends StringEscapeUtils { @NotNull public static String removeEscapedChars(@NotNull final String string, final char[] toRemove) { String toReturn = string; for (char character : toRemove) { toReturn = removeEscapedChar(toReturn, character); } return toReturn; } private  StringEscapeUtilities(); @NotNull static String escapeChar(@NotNull final String string, final char toEscape); @NotNull static String unescapeChar(@NotNull final String string, final char toUnescape); @NotNull static String escapeChars(@NotNull final String string, final char[] toEscape); @NotNull static String unescapeChars(@NotNull final String string, final char[] toUnescape); @NotNull static String removeEscapedChar(@NotNull final String string, final char toRemove); @NotNull static String removeEscapedChars(@NotNull final String string, final char[] toRemove); }
StringEscapeUtilities extends StringEscapeUtils { @NotNull public static String removeEscapedChars(@NotNull final String string, final char[] toRemove) { String toReturn = string; for (char character : toRemove) { toReturn = removeEscapedChar(toReturn, character); } return toReturn; } private  StringEscapeUtilities(); @NotNull static String escapeChar(@NotNull final String string, final char toEscape); @NotNull static String unescapeChar(@NotNull final String string, final char toUnescape); @NotNull static String escapeChars(@NotNull final String string, final char[] toEscape); @NotNull static String unescapeChars(@NotNull final String string, final char[] toUnescape); @NotNull static String removeEscapedChar(@NotNull final String string, final char toRemove); @NotNull static String removeEscapedChars(@NotNull final String string, final char[] toRemove);  }