I'm still confused on what the string looks like that you are getting.
Can you put up an actual example?
Also, the two strings that you show here, does the second actually come in as:
'IP: xxx.xxx.xxx.xxx'
Or is that 'IP:' just there for the purpose of us knowing what it is?
-- Jason