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 <[EMAIL PROTECTED]> 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
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users