in reply to Re^4: compare two strings and return only he unique values.
in thread compare two strings and return only he unique values.
I am trying to display unique values from two strings "ABCDE", "BCDEO" to return "AO"
was the OP's request. As a matter of fact my code does exactly what they were asking for. Splitting the two strings into single characters and counting the character's occurrence within the string is how I'd approach it.
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg