MCPcopy Create free account
hub / github.com/Bit0r/java-util / getRemoveZeroString

Method getRemoveZeroString

src/main/java/util/CommonUtils.java:546–548  ·  view source on GitHub ↗

去除字符串后面的0 零 @param data @return

(String data)

Source from the content-addressed store, hash-verified

544 * @return
545 */
546 public static String getRemoveZeroString(String data) {
547 return data.replaceAll("0+$", "");
548 }
549
550
551 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected