DEV Community

loading...

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

Collapse
raghu_kn profile image
Raghu

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

fun normalizePath(str: String) = str.replacsite:dev.to drafte("/document/primary:", "/sdcard/")

Collapse
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!