mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-23 02:19:05 +00:00
Remove old getLastCode method
This commit is contained in:
parent
4c6d76509d
commit
3d13056eea
@ -163,20 +163,6 @@ public class Format {
|
|||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
// public static String getLastCode(String s) {
|
|
||||||
// String ts = "";
|
|
||||||
// char[] ch = s.toCharArray();
|
|
||||||
// for(int a = 0; a < s.length() - 1; a ++) {
|
|
||||||
// if(String.valueOf(ch[a + 1]).matches("[lkonmr0123456789abcdef]") && ch[a] == '§') {
|
|
||||||
// ts += String.valueOf(ch[a]) + ch[a + 1];
|
|
||||||
// if(String.valueOf(ch[a + 1]).matches("[0123456789abcdefr]")) {
|
|
||||||
// ts = String.valueOf(ch[a]) + ch[a + 1];
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// return ts;
|
|
||||||
// }
|
|
||||||
|
|
||||||
public static String getLastCode(String s) {
|
public static String getLastCode(String s) {
|
||||||
String ts = "";
|
String ts = "";
|
||||||
char[] ch = s.toCharArray();
|
char[] ch = s.toCharArray();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user