String to text

If a textbox called Address(index) has a a value 0f 192.168.1.35 what needs to happen to convert it to text for this code to work?

Var Off_URL As Text = “http://” + Address(Index).value + “/cm?cmnd=Power%20Off”

WebViewer(index).LoadURL(Off_URL)

Address(Index).value.toText

Swear I tried that but it worked this time. You’re the man…

The Text Type has now been deprecated by the way. There’s really no more need to use it.