Created
April 8, 2021 14:03
-
-
Save soudmaijer/e5308e3ffc3c1e29f770e1c99291f0b2 to your computer and use it in GitHub Desktop.
This file contains 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
fun printLength(str: String?) { | |
val length: Int = str.length | |
print("$str length is $length") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment