@Test public void removeEscapedChar() throws Exception { assertEquals(StringEscapeUtilities.removeEscapedChar("\\a\\bcdea\\a\\ac\\a\\a\\a\\a", 'a'), "\\bcdeac"); }
@NotNull public static String removeEscapedChar(@NotNull final String string, final char toRemove) { return string.replaceAll("\\\\" + toRemove, ""); }
StringEscapeUtilities extends StringEscapeUtils { @NotNull public static String removeEscapedChar(@NotNull final String string, final char toRemove) { return string.replaceAll("\\\\" + toRemove, ""); } }
StringEscapeUtilities extends StringEscapeUtils { @NotNull public static String removeEscapedChar(@NotNull final String string, final char toRemove) { return string.replaceAll("\\\\" + toRemove, ""); } private  StringEscapeUtilities(); }
StringEscapeUtilities extends StringEscapeUtils { @NotNull public static String removeEscapedChar(@NotNull final String string, final char toRemove) { return string.replaceAll("\\\\" + toRemove, ""); } 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 removeEscapedChar(@NotNull final String string, final char toRemove) { return string.replaceAll("\\\\" + toRemove, ""); } 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);  }