getExtension

fun getExtension(filename: String): String?

Return the extension (anything after the first '.'), or null if there is no '.' in the file name.