You are not logged in.
I’ve updated sab_substr to correct the help text.
And I’ve written a small plugin that, unlike sab_substr, can cut an XHTML string properly: rvm_substr
Offline
Feature request!
Remove characters from the end by using negative numbers. eg. to remove a file extension with Podcast.mp3 as the file name
<txp:sab_substr limit="-4"><txp:file_download_name /></txp:sab_substr>
I’m currently doing this instead if it helps:
<txp:php> $name = $thisfile['filename']; substr_replace($name ,"",-4); echo $name; </txp:php>
Offline