perlquestion
shadox
Hi all,
I am doing a script to change some values from one database table to another.<br>
My problem is this:<br>
<br>
The values that i have to move are _valid_ USA States that people put in the database ( they wrote it from a web page ), but i need to check if the state is valid, a state is valid if it was write correctly, for example
<br>
New York or NY<br>
<br>
So far i have everything done, but i want to make text match with similar text, so if i have
<br>
Ner Yorh, i need it to match with New York, so my question is if there is some module to match _similar text_, something like google does when you put something wrong and it says 'Did you mean: .......'.
<br>
Anyone knows a module or something to do this.
<br>
<br><FONT COLOR=GREEN SIZE=1>
<B>___________________________________________<B><BR>
</FONT>
<I>
<FONT SIZE=-1 COLOR=NAVY FACE='Comic Sans'>
<B>Optimus magister, bonus liber<B>
</FONT>
</I>