We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8258991 commit b700ea2Copy full SHA for b700ea2
src/test/kotlin/com/igorwojda/string/decapitalizeconst/Challenge.kt
@@ -4,16 +4,7 @@ import org.amshove.kluent.shouldBeEqualTo
4
import org.junit.jupiter.api.Test
5
6
private fun decapitalizeConst(str: String): String {
7
- val subsStringsList = str
8
- .split("_")
9
- .map { it.lowercase() }
10
- .map { it.replaceFirstChar { string -> string.uppercaseChar() } }
11
-
12
- return subsStringsList
13
- .joinToString("")
14
- .replaceFirstChar {
15
- it.lowercaseChar()
16
- }
+ TODO("Add your solution here")
17
}
18
19
private class Test {
0 commit comments