I have a program that is going to read an IP from a certain file.

The IP is already written within in the file. Its written as

Address = "127.0.0.1:8129"

The thing is, that I want to be able to read between the quotation marks and the colon and just change the IP without changing the port (8129). I have no idea how to read between certain symbols.

I assume its something with StreamReader, but I don't know how to use it like that.

Any help is greatly appreciated,

SiPex

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.