Tuesday, August 12, 2008, 4:32:08 PM, noskule wrote:

> I build serialized pages with powertools / serialname. What the best way
> to get the number out of the pagename? I want to do a pagevar $SerialNumber.

if you have four-digit serial numbers:

$FmtPV['$SerialNumber'] = 'substr($pagename,-4)';


  ~Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to