STUPID QUESTION... split a variable

Hi,

I can not seem to find how to do this, but it MUST be simple…

I my dialplan have a variable holding a string. the string is a delimited set of params:

“param1?param2?parm3”

now I need to split this in to the 3 separate params… In JavaScript I would do: myString.split(’?’)[0] to access the first item, etc…

How would I go about this in Asterisk?

pls excuse my ignorance…

voip-info.org/wiki/index.php … k+func+cut .

Cheers.

Marco Bruni
www.marcobruni.net

DUH!
Thank you!!!