Forum
Output filename without the path
How do I output just the filename (eg: 'file.pdf') instead of the whole path (eg: 'admin/resources/downloads/file.pdf') ??
Many thanks!
How do I output just the filename (eg: 'file.pdf') instead of the whole path (eg: 'admin/resources/downloads/file.pdf') ??
Many thanks!
No, you'd need to use the
replace
attribute to remove it.Ok Thanks.
I'm presuming that
output="filename"
doesn't give you what you want.