Re: Compare two strings with same characters, but different order.
From: Bob Phillips (bob.phillips_at_notheretiscali.co.uk)
Date: 03/23/04
- Next message: Tom Ogilvy: "Re: Cells.Find Part 3"
- Previous message: Jack Schitt: "Replace text string"
- In reply to: chris: "Compare two strings with same characters, but different order."
- Next in thread: Harald Staff: "Re: Compare two strings with same characters, but different order."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 13:07:27 -0000
What is wrong with
if str1 <> str2 then
'do something
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"chris" <anonymous@discussions.microsoft.com> wrote in message
news:F2369166-17D0-4323-A0B8-B3801C551B6D@microsoft.com...
> I am looking to see if there is a quick and dirty function to compare Two
strings with all the same characters but different order of charactrers. I
don't think i can resort to a simple ascii value because the numerical value
of two different strings might add up to the same value.
> example: cat = atc
- Next message: Tom Ogilvy: "Re: Cells.Find Part 3"
- Previous message: Jack Schitt: "Replace text string"
- In reply to: chris: "Compare two strings with same characters, but different order."
- Next in thread: Harald Staff: "Re: Compare two strings with same characters, but different order."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|