DEV Community

Discussion on: #TeachingKotlin Part 1 - Classes and Objects and everything in between

raghu_kn profile image

Thanks Harsh for a good intro. Is there any issue in the definition of StringUtils above?

fun normalizePath(str: String) = drafte("/document/primary:", "/sdcard/")

msfjarvis profile image
Harsh Shandilya Author

Oh yes there is, some copypasta derp my linter failed to catch. I've rectified it, thanks a lot for pointing it out!