
08-30-2012, 04:47 PM
|
|
|
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by ascroft
Hi there.
One tweak I wanted to make is pass the forum in the string - [MAP]{qo_72},{qo_73},{qo_74}[/MAP] but strip a prefix I have on the forum (one of the questions).
For example if {qo_73} actually contained "PD_Wakari", I wanted the insert in to the string to be "Wakari" i.e. drop the first 3 chars. I know how to do that in Excel but not that useful here!
Is there a simple way to do this please?
Thanks.
Mark
|
You can use form php hooks and php function substr()
Reference: http://php.net/manual/en/function.substr.php
|