12. 문자열 안에 표현식의 값을 집어넣기 #49
Unanswered
JoisFe
asked this question in
Kotlin 200문제로 격파!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
12. 문자열 안에 표현식의 값을 집어넣기
+ 연산자를 이용한 문자열 덧 붙이기의 불편하다.
해결책
${표현식}
을 문자열 안에 적으면 된다.$ 자체를 출력하고 싶다면 ?
Reference
초보자를 위한 Kotlin 200제, 정보문화사, [엄민석]
Beta Was this translation helpful? Give feedback.
All reactions