Hi,

I have a value in a string with a semicolene and i would like to remove that semi colene and put a dot.

FROM
string a = 10:12;

TO
string a = 10.12;

Use the Replace method.

Yep
just to add to ddanbe post (how to practicaly do it):

string a = "10:12";
a = a.Replace(":", ".");

Use the Replace method.

WOOOW tahts ccool thanks :)

You will slowely starting to experiance what C# offers. You will be amazed what you can do with it (almost everything it comes up into yout mind).
Just remember: nothing is impossible.
Even if you hardly can imagine something in your mind, it sure is possible to put this into working code.

Enjoy... :)

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.