Here's another way:

Code:
$gettok($mask(*!*@123.456.789.100,4),2,64)


Edit: Added the $gettok.

Last edited by Strider; 18/09/08 06:56 AM.