Louis I. answered 10/01/19
Tutor
4.9
(247)
Computer Science Instructor/Tutor: Real World and Academia Experienced
Fortunately, there is!
And if you're a bash developer, this should look very natural ;-)
> path="C:/tmp/lji/file.txt"
> f=basename(path)
> f
[1] "file.txt"
>