I have an array of char like this:
You should be able to do this using the constructor that takes the number of byts to read.
wxString w(aData+from, to-from);
for an already existing
w, you could say
or you could use the iterator version: