[pmwiki-users] markup expression for explode-like effect

The Editor editor at fast.st
Wed Apr 25 09:03:36 CDT 2007


If you know the length of the part you want to cut off, why don't you try

{(substr {$Name} 0 -11)}

Not tested...

Cheers,
Dan

PS.  I seem to recall Pm may even have added something like {(substr
{$Name} 0 --Discussion)}



On 4/25/07, noskule <noskule at gmx.net> wrote:
> hi list
> I seen the markup expressions but could not find something like explode
> to separate something like -XXX:
>
> PageName-Discussion -> PageName
>
> is there any way to do this
>
> grz nos
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



More information about the pmwiki-users mailing list