Last active
October 22, 2020 08:04
-
-
Save loveprotocol/c66cf93ad8085648ab813b28110757b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String address; // Java String 타입은 참조 타입이므로 Null 기본 허용 | |
//대충 address를 얻어오는 코드 생략 | |
... | |
if (address != null && address.length() != 0) { | |
if (address.contain("seoul")) { | |
... | |
} | |
} else { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment