[SOLVED] Splitting a string !!

Hello,

I am trying to split a string during an event onChange of a form. Here is the code :


$tmp = {Title}.split(":");
{Description} = $tmp[0];

I can’t get it working !

Thank you

Re: Splitting a string !!

Hello,

This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.

You could use explode or preg_split().

regards,
Bernhard Bernsmann

Re: Splitting a string !!

Yes thank you, it works !