We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a9720 commit 095109dCopy full SHA for 095109d
JadenCase 문자열 만들기/solution.kt
@@ -0,0 +1,9 @@
1
+class Solution {
2
+ fun solution(s: String): String =
3
+ s.lowercase().split(" ").joinToString(" ") {
4
+ if (it.isNotEmpty())
5
+ "${it[0].uppercase()}${it.substring(1)}"
6
+ else
7
+ it
8
+ }
9
+}
0 commit comments