Difference between revisions of "Template:Basename"

From Knotter
Jump to navigation Jump to search
 
Line 1: Line 1:
{{#sub:{{{1|dirname/filename?foo}}}|{{#expr:1+{{#rpos:{{{1|dirname/filename?foo}}}|/}}}}|{{#expr:{{#rpos:{{{1|dirname/filename?foo}}}|?}}-1-{{#rpos:{{{1|dirname/filename?foo}}}|/}}}}}}
+
{{#sub:{{{1|dirname/filename?foo}}}|{{#expr:1+{{#rpos:{{{1|dirname/filename?foo}}}|/}}}}|{{#expr:{{#pos:{{{1|dirname/filename?foo}}}?|?}}-1-{{#rpos:{{{1|dirname/filename?foo}}}|/}}}}}}

Latest revision as of 12:01, 24 January 2021

filename