title: Splitting array into multiple arrays/bins
body: <p>I have an array of strings - call it Xarray. I have three other arrays of strings - Aarray, Barray, and Carray. Xarray may have a small length - say 3 or 4. A, B, and C arrays are usually a longer master list (say 10+ elements each).</p>
  
  <p>Xarray only contains elements that are found in Aarray, Barray, or Carray. </p>
  
  <p>I need to split Xarray into 3 bins/arrays - call them XA, XB and XC. XA should only contain entries from Xarray that are found in Aarray. XB should only contain entries from Xarray that are found in Barray. XC should... you get the picture.</p>
  
  <p>What is a good way to do this? Appreciate your help.</p>