managers, commands shit
This commit is contained in:
@ -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("\\.", "");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user