I have a small problem.
I am unable to split the Ip Address.
for eg. 123.123.123.123. I want to have it in the fashion a=123, b=123,c=123, d=123 having separated bythe dot(.)
Printable View
I have a small problem.
I am unable to split the Ip Address.
for eg. 123.123.123.123. I want to have it in the fashion a=123, b=123,c=123, d=123 having separated bythe dot(.)
use the split function in VB6 which will split the into an array for you
Heres code that will do it
Dim Myarray() as string
Dim Mystring
Mystring = "123.123.123.123"
Myarray = Split(Mystring, ".")
MsgBox Myarray(0)
MsgBox Myarray(1)
MsgBox Myarray(2)
MsgBox Myarray(3)