Is there a way to split a set of characters in a stringbuilder – for example if I have “One Two Three Four” is there a way of getting each individual word which I could then put into a list (using a foreach loop)
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.
I think there is no direct way to split StringBuilder to an array, you need convert to String first, like this: