How to compare 2 strings containing same characters
<p>My question is that, I have 2 strings, say String1 &amp; String2. Now I want to check whether these 2 strings contain same characters or not, irrespective of their sequence.</p>

<p>Suppose <code>String1= "qwerty"</code>, <code>String2= "qywter"</code>. Now these Strings contain same characters but are in different sequence. So is there any function that can be used to show that these strings contain same characters?? Can equals() method do that???</p>

<p>All help is appreciated.</p>
