Re: Finding similar strings!
Not enough info to give an answer.
What is the it you are looking to find?
How are these strings stored?
If you want a decent answer to your question you must first take the time to type out a clear description of your question.
Re: Finding similar strings!
Okay, I updated it. I hope I'm clear now.
Re: Finding similar strings!
Double post.
Do not create more than one thread for the same question.
See other thread
Re: Finding similar strings!
You did not tell us how these strings are stored. Are we talking a database? a List? an Array? Individual Variables, a text file or what.
Your odds of getting the correct answer are very low if you do not provide enough info to allow us to have an idea of what you are attempting.
Have you written some code for this already? Show us the code, tell us what it is or is not doing then maybe someone can help.
Re: Finding similar strings!
I haven't written anything as yet as I'm not clear with the idea!, but let us assume, these are stored in an array.
Re: Finding similar strings!
Well if you were using a database you could use a like clause as part of your select statement to handle some variants but even then there is no gaurantee that the results would be what you seek.
In the case of an array you would need to loop through the array checking for variations, either by doing multiple tests on each element or by running more than one loop with a different search parameter. Perhaps create a function that checks the array for an instance. To find all the instances in your first post without getting anything that may not be a match may prove to be difficult especially if you have lots of enteries with similar variations of other names.
Woudl be much simplier to standardize the data.