MCPcopy Create free account
hub / github.com/diyhi/bbs / replaceSpace

Method replaceSpace

src/main/java/cms/utils/StringUtil.java:125–128  ·  view source on GitHub ↗

替换空格  @param html HTML @return

(String html)

Source from the content-addressed store, hash-verified

123 * @return
124 */
125 public static String replaceSpace(String html){
126 //return html.toLowerCase().replaceAll("(?i) ","");
127 return html.replaceAll("(?i) ","");
128 }
129 /**
130 * 删除所有空格
131 * @param txt 文本

Callers 15

addQuestionMethod · 0.80
appendQuestionMethod · 0.80
addTopicMethod · 0.80
editTopicMethod · 0.80
addAnswerMethod · 0.80
editAnswerMethod · 0.80
addAnswerReplyMethod · 0.80
editAnswerReplyMethod · 0.80
addCommentMethod · 0.80
addQuoteCommentMethod · 0.80
editCommentMethod · 0.80
addReplyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected