BigLep/ChuckanutBayFoodsInternal — comment on commit 19005f494e7d9d5d7f0a99e0cb01d02a3880d046
File: src/com/chuckanutbay/webapp/common/server/TrayLabelServiceImpl.java line 272
By MixMasterMitch:

I think this is the simplest:

String[] idParts = qbItemId.split(" ");
String primaryId = idParts[0];
String flavor = idParts[1];