GGYU

숫자체크 본문

프로그래밍/JAVA

숫자체크

GANADARA 2019. 4. 21. 19:12

public boolean isNumber(String str) {
    return str.matches("^[0-9]*$");
}

'프로그래밍 > JAVA' 카테고리의 다른 글

Java Lib(C8)  (0) 2020.05.06
프로세스 실행 및 결과 확인  (0) 2019.05.19
시저암호화  (0) 2019.04.21
console 입력  (0) 2019.04.21
reflection  (0) 2018.07.19
Comments