Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- runSpacing
- StringUtils.isEmpty
- 크롬개발자도구
- VerticalMultiDragGestureRecognizer
- TextFormField
- 안보내짐
- freezed
- TCP/IP모델
- carousel slider
- StringUtils.isBlank
- not working
- allowBackup
- Chrome Developer Tools
- project flow
- 에러
- Set ID
- foreground
- Could not create service of type FileAccessTimeJournal using
- 웹뷰
- Flutter SDK
- gestureRecognizers
- fullBackupContent
- Flutter
- 플러터
- 안드로이드
- 입력 커서
- 두 수의 나눗셈
- 프로그래머스
- 플루터
- 앱
Archives
- Today
- Total
목록StringUtils.isEmpty (1)
흰오목눈이야 개발하자

먼저 공백이 있는 경우란? 따옴표("")사이에 비어 있는 부분을 말한다. (=" ") ""만 리턴한다면 값이 없다고 할 수 있지만 ""사이에 공백이 있으면 공백을 리턴하는 것이 되기 때문에 서버에서 값을 잘못 보내는 경우를 대비하여 확인할 필요가 있다. StringUtils.isEmpty : 공백이 있는 경우는 처리하지 않는다. 문자열이 null(널)이거나 비어있는 경우("")만 확인한다. StringUtils.isEmpty(null) = true (널이라서 참) StringUtils.isEmpty("") = true (비어있어서 참) StringUtils.isEmpty(" ") = false (공백이 있는 경우는 거짓) StringUtils.isEmpty("test") = false (문자가 있으니까 ..
Java(자바)
2022. 9. 27. 23:32