I have heard there is a C++ split function, but I have not yet found anything to help me work with what I have. I have the following:
001E3897 1024 HV regread set [rootPos: 0001CBE7, offset 1862832 ]
I need to be able to take this and split it into 5 pieces. I tried doing some weird getline stuff using '\t' but it didn't work out.
This is the code that is being used in C# that I am trying to convert over using C++ functions.
var splitAsm = line.Split(new[] { '|' }, 2);
var words = splitAsm[0].Split(new[] { ' ', '\t' }, 4, StringSplitOptions.RemoveEmptyEntries);
Any ideas? I am sure this is easy, but I must be missing something small....Ty