Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8931375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:06:12+00:00 2026-06-15T09:06:12+00:00

In C++/CX Windows App Store, how do we perform string split based on space,

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:06:13+00:00Added an answer on June 15, 2026 at 9:06 am

    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:

    Text in the Windows Runtime is represented in C++/CX by the
    Platform::String Class. Use the Platform::String Class when you pass
    strings back and forth to methods in Windows Runtime classes, or when
    you are interacting with other Windows Runtime components across the
    application binary interface (ABI) boundary. The Platform::String
    Class provides methods for several common string operations, but it’s
    not designed to be a full-featured string class. In your C++ module,
    use standard C++ string types such as wstring for any significant text
    processing, and then convert the final result to Platform::String^
    before you pass it to or from a public interface. It’s easy and
    efficient to convert between wstring or wchar_t* and Platform::String.
    (Source: http://msdn.microsoft.com/en-us/library/windows/apps/hh699879.aspx)

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are working on a C# Xaml-based Windows Store app. We have integrated bing
In a Windows Store app I can only store WinRT types in the ApplicationSettings,
I am writing a Windows Store App toy application for Windows 8. It has
In a Windows Store App, is there any way to apply a StrikeThrough effect
How do you enumerate all the installed fonts in a Windows Store app? The
I tried to use EmguCV library in Windows 8 Store App. Previously, it works
I'm building a Windows Store app and I'm failing the App Certification Tool test
We are writing a Windows Store app. A lot of the data processing and
I'm building a Windows Store App that uses a GridView to show a list
I'm making a Windows Store app using C# and need a bit of help

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.