Changes to external ip

The easiest way, although probably not the most efficient, is to use the String class. What version of the Arduino environment are you using?