I’m having a vector like this Vector = “a:2.34;b:1.24;c:0.67”. How can I get the value which is 2.34,1.24,0.67? I don’t want to use any split functionality here. I’m using C#.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use regular expression to do this. Although this pattern is very naively implemented, it is a start. I’ve used Tuple instead of Vector, but you can easily change that yourself.