SyntaxFix
Write A Post
Hire A Developer
Questions
or
([io.fileinfo]"c:\temp\myfile.txt").basename
"c:\temp\myfile.txt".split('\.')[-2]