공부/기타
Character 메소드 활용
아찌방
2024. 1. 4. 10:27
type | Method | Description |
boolean | isDigit(char ch) | Determines if the specified character is a digit. 숫자면 true, 아니면 false 반환 |
boolean | isAlphabetic(int codePoint) | Determines if the specified character (Unicode code point) is an alphabet. |
boolean | isLetter(char ch) | Determines if the specified character is a letter. 알파벳(영문 알파벳 대소문자) 또는 다른 언어의 문자인 경우에도 true를 반환, 숫자나 특수 문자, 공백이면 false |
char | toLowerCase(char ch) | Converts the character argument to lowercase using case mapping information from the UnicodeData file. |
char | toUpperCase(char ch) | Converts the character (Unicode code point) argument to uppercase using case mapping information from the UnicodeData file. |
728x90