managers, commands shit

This commit is contained in:
Trixkz
2021-11-21 09:50:15 -05:00
parent 6dcc92da42
commit 4e54849ae4
17 changed files with 614 additions and 14 deletions

View File

@ -35,4 +35,12 @@ public class CC {
}
return strings;
}
public static boolean isNumeric(String string) {
return regexNumeric(string).length() == 0;
}
public static String regexNumeric(String string) {
return string.replaceAll("[0-9]", "").replaceFirst("\\.", "");
}
}