MCPcopy Create free account
hub / github.com/ZetaMap/MoreCommands / stripGlyphs

Method stripGlyphs

src/main/java/util/Strings.java:69–80  ·  view source on GitHub ↗
(CharSequence str)

Source from the content-addressed store, hash-verified

67 }
68
69 public static String stripGlyphs(CharSequence str){
70 StringBuilder out = new StringBuilder();
71 int c;
72
73 for(int i=0; i<str.length(); i++){
74 c = str.charAt(i);
75 if(c >= 0xE000 && c <= 0xF8FF) continue;
76 out.append((char) c);
77 }
78
79 return out.toString();
80 }
81
82 public static boolean choiseOn(String str) {
83 switch (str) {

Callers 6

initEventsMethod · 0.95
TempDataMethod · 0.95
putMethod · 0.95
removeMethod · 0.95
getByNameMethod · 0.95
checkNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected