php - Get respective part from string
140
Kindly let me know how to get the partApplication6.docx
from strings likefiles/abcd/Application6.docx
?
In simple words I am just trying to get the file name along with its extensionApplication6.docx
Note:files/abcd/
can be differentppt/file/
so I cannot use the trick of replacingfiles/abcd/
Answer
Solution:
You can use basename to get what you want.
Answer
Solution:
Hope This Helps :)