$left([color:red]$gettok([color:green]$12,2,64)[/color],-1)[/color]
$gettok( [color:green](abc@111.222.333.444),2,@)[/color]
(abc@111.222.333.444)
Seperate the string "(abc@111.222.333.444)" into 'sections' divided by chr(64) - "@", results in "(abc" and "111.222.333.444)"
Now take the 2nd 'section' and the result to pass onto $left() is "111.222.333.444)"
"$left(111.222.333.444),-1)" simple means to 'grab' N amount of characters from the left.
In this case, grab all but 1 (-1), which strips the last char off, leaving
111.222.333.444