I have written an app to compare the response I get for a request with its standard response. If they differ I need to find the difference. Since the response I get for the request has \r and \n in between it doesn't match with the standard response even though the responses are the same.How do I remove these \r and \n which are in the response string I get? Please advice.
<R>
<T>Expired</T>
<K>Service</K>
<E></E>
<S>0,license
</S>
</R>