The application of LC-NMR and LC-MS for the separation and rapid structure elucidation of an unknown impurity in 5-aminosalicylic acid.