(CharSequence str)
| 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) { |