• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Best string search method in Windows Forms (C++)?

Karstein

Senior member
I'm currently creating a tool using Windows Forms (C++) and wondered if you guys could give some advice on the best way to search/extract info from strings.

Basically I'm parsing a log (which is entered through an editbox and saved to a System::String^). I then want to search through the string and extract various bits and pieces, eg. it finds <name> <sometext> and I can output that in a more readable format.

I've tried using regex but it complains that the template can't handle String^s. There seem to be a bunch of search/compare methods but none that specifically relate to what I need (regex_search is ideally what I wanted to use). Any recommendations?

Thanks in advance!
 
Back
Top