@Test public void testStripCRLF() { assertEquals(StaticStringUtils.stripCRLF("test\nin\rg"), "testing"); }
public static String stripCRLF(String line){ String replaced = line.replace("\r","").replace("\n",""); return replaced; }
StaticStringUtils { public static String stripCRLF(String line){ String replaced = line.replace("\r","").replace("\n",""); return replaced; } }
StaticStringUtils { public static String stripCRLF(String line){ String replaced = line.replace("\r","").replace("\n",""); return replaced; }  }
StaticStringUtils { public static String stripCRLF(String line){ String replaced = line.replace("\r","").replace("\n",""); return replaced; }  static String lpadLong(long val, String pad, int npad); static String lpad(String val, String pad, int npad); static String getExtendedStackTrace(Throwable th); static String mapToString(Map<K, V> map, String delimiter); static String collectionToString(Collection<T> collection, String delimiter); static String truncate(String stringIn, int maxLen); static String mapToString(Map<K, V> mapIn); static String stripCRLF(String line); static String[] stripBlankArgs(String line); static Map<String, String> argMapper(String[] args); static String[] stripKwArgs(String[] args); static String justOneCR(String strIn); static String showDiff(String a, String b); }
StaticStringUtils { public static String stripCRLF(String line){ String replaced = line.replace("\r","").replace("\n",""); return replaced; }  static String lpadLong(long val, String pad, int npad); static String lpad(String val, String pad, int npad); static String getExtendedStackTrace(Throwable th); static String mapToString(Map<K, V> map, String delimiter); static String collectionToString(Collection<T> collection, String delimiter); static String truncate(String stringIn, int maxLen); static String mapToString(Map<K, V> mapIn); static String stripCRLF(String line); static String[] stripBlankArgs(String line); static Map<String, String> argMapper(String[] args); static String[] stripKwArgs(String[] args); static String justOneCR(String strIn); static String showDiff(String a, String b);  }