Thanks to visit codestin.com Credit goes to kotlinlang.org
Returns the name of the file or directory denoted by this path as a string, or an empty string if this path has zero path elements.
Thanks for your feedback!