In C++/CX Windows App Store, how do we perform string split based on space, for Platform::String^? I just can’t find the Split function.
In C++/CX Windows App Store, how do we perform string split based on space,
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.
There probably isn’t a split method because Microsoft has said (for now) that they don’t intend to add one. In the documentation for the Platform::String class they state:
Given what’s above your best bet is to work with strings from std and work with one of the many different implementations of split. There are some great recommendations here.
I hope this helps.