Last active
December 5, 2017 20:58
-
-
Save sliskiCode/906daa52d78dbd420c1715914a01743d to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #13
This file contains hidden or 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
val sugar = "Fructos" | |
with(sugar) { | |
println(toUpperCase()) | |
println(toLowerCase()) | |
println(capitalize()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment