Hi everyone,

I know that this may be the wrong place to ask this. But I have scoured the Internet and not found a satisfiable solution - hence I have come here to seek help to port mIRC's gettok function (EXACTLY) over to PHP.

mIRC has made the job of parsing strings very easy with this function and I am hoping somebody here will be skilled enough to do code the precise function over to PHP.

I know that this is strictly a mIRC scripting forum but I am also aware that many talented scripters frequent this forum and I post here in the hope that one of them can help me.

Kindest, Regards.