or maybe you want to use QString::split()? If you use it on your string like this:
Qt Code:
  1. QStringList list = receivedItem.split("?");
To copy to clipboard, switch view to plain text mode 
then the list contains 5 items: "BOM ", "DEL:1.0 ", "VSP:UTF-8/ ", "HYD/ThisisTest ", "END:VBKM"