White phosphorus can be separated from red phosphorus by:
Heating with alkali solution
Red phosphorus doesn't easily react with NaOH. This is in contrast with white phosphorus:
P4+3NaOH+3H2O⟶PH3↑+3NaH2PO2
Don't forget that the general rule for sulibility is "like dissolves like."
White phosphorus is a molecular solid made of non-polar P4 units. Hence, it is soluble in non-polar solvents like CS2, while red phosphorus is not!