Phone1 코틀린 안드로이드 핸드폰번호 국가코드로 변환시키기 fun phoneNumber82(msg : String) : String{ val firstNumber : String = msg.substring(0,3) var phoneEdit = msg.substring(3) when(firstNumber){ "010" -> phoneEdit = "+8210$phoneEdit" "011" -> phoneEdit = "+8211$phoneEdit" "016" -> phoneEdit = "+8216$phoneEdit" "017" -> phoneEdit = "+8217$phoneEdit" "018" -> phoneEdit = "+8218$phoneEdit" "019" -> phoneEdit = "+8219$phoneEdit" "106" -> phoneEdit = "+8.. 2022. 2. 4. 이전 1 다음