Nope, different length will fail. (See also second test)
But yes, I was only concentrating on the essential part, his "specs" are indeed a bit fuzzy.
Anyway, there's no point in optimizing for speed if the problem-space is under-defined
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^4: Check if string A and B are made up of same chars
by LanX
in thread Check if string A and B are made up of same chars
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |