|
hi all, i have a string of doubles delimted by a + sign like the following example:
string s = "711.5082+733.50+749.47";
i want to loop through the string and pass every double into a vector (not including the + sign). Can you show me how to do this.
I might want to add more numbers or even change the + delimeter to something else, can anyone help at all.
Thank you
|
|
|
Using the function s.Split(yourstring,"+")?
|
|
|
|
|
|
|
// |