MCPcopy Create free account
hub / github.com/WindXaa/Android-reverse / replaceBlank

Method replaceBlank

WebCurl/WebCurl.java:53–61  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

51
52 //除去标题字符串中的\t制表符 \n回车 \r换行符
53 public static String replaceBlank(String str) {
54 String dest = "";
55 if (str!=null) {
56 Pattern p = Pattern.compile("\\s*|\t|\r|\n");
57 Matcher m = p.matcher(str);
58 dest = m.replaceAll("");
59 }
60 return dest;
61 }
62
63 /*
64 * 功能说明:

Callers 1

outTagMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected