SyntaxFix
Write A Post
Hire A Developer
Questions
You can try below code :
Path.GetFileName(userpath)