how can i get the last folder name and file name from a full path,I need a solution for this.
Example:
d:\folder1\folder2\assets\images\62f9a0f4-98b9-4dd0-8047-ed1a3cc306cf.png
In my case,I just need \images\62f9a0f4-98b9-4dd0-8047-ed1a3cc306cf.png from the path in Javascript.