Nokia Interview Question

string split on ip address and modify