docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1Web Developer ManualText Tags
Copyright  2018, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



<ai>
<autoformat>
<basename>
<case>
<charset>
<comment>
<?comment ?>
<default>
<dirname>
<doc>
<foldlist>
<format-number>
<obox>
<random>
<recode>
<replace>
<sed>
<smallcaps>
<sort>
<spell>
<strlen>
<substring>
<tablify>
<trim>
<trimlines>
<wash-html>

<dirname></dirname>

Provided by module: Tags: Additional RXML tags

Returns all but the last segment of a path. Some example inputs and outputs:

1 <dirname>/a/b</dirname><br/> 2 <dirname>/a/</dirname><br/> 3 <dirname>/a</dirname><br/> 4 <dirname>/</dirname><br/> 5 <dirname></dirname>
1 /a
2 /a
3 /
4 /
5