0
For example: 4587 / 1235 / 7554 And then replaced 4587;1235;7554
Remove the spaces and in place of the bar, put point and comma, as it does in C#?
0
For example: 4587 / 1235 / 7554 And then replaced 4587;1235;7554
Remove the spaces and in place of the bar, put point and comma, as it does in C#?
1
string string1 = "44 / 44 / 55";
string string2 = string1.Replace(" / ",";");
So man, is that sometimes it will have number so 4527 4524 7852 where in the place of space, will have point and comma, and this way you did, will have 3 point and comma
Will only have two.
@Renan when asking a question should put the whole set of information and variations that may occur, what was answered is what was asked, after that you put another rule in the comment, should then check your question because it lacks information ... if you agree? (the next questions put all the rules ... )
Browser other questions tagged c# functional-programming
You are not signed in. Login or sign up in order to post.
Have you looked at the method
Replace
ofstring
? There are several examples, such as this or this– Isac