Question

Yan Cheng Cheok on Thu, 29 Nov 2012 08:23:45


In C++/CLI Windows App Store, how do we perform string split based on space, forPlatform::String^? I just can't find the Split function.

Sponsored



Replies

Mokarrom Hossain on Thu, 29 Nov 2012 10:24:06


As far I know, The Platform::String class provides methods and operators for concatenating, comparing strings, and other basic string operations. But you can get std::wstring from Platform::String^ using String::Data() member which provides you rich string handling functions.

std::wstring str = platformString->Data()

How to parse integer from a string in windows store app