MCPcopy Create free account
hub / github.com/anons-org/opencar / StringUtil

Class StringUtil

src/main/java/com/far/vms/opencar/test/java/StringUtil.java:5–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import cn.hutool.core.util.StrUtil;
4
5public class StringUtil {
6
7 public static void main(String[] args) {
8 String s = "fffffff3";
9 s = s.substring(s.length() - 2);
10 s = StrUtil.sub(s, s.length() - 2, -2);
11 System.out.println(s);
12 }
13
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected