RobColborne
MIS
Hi
Can you give me some idea how I can approach the following:
I want to write a script that will take the input from a textbox, loop through each word to evaluate it. It will look for know abbreviations and convert to the full word. It will then replace the entry with an updated string.
I know that I will have to use regular expressions to ensure it doesn't count spaces as words, and a Switch statement to evaluate each word against a list of abbreviations. But just need some ideas of the structure.
Thanks
Rob
Robert Colborne
----------------------------
Certified GoldMine, AccPac CRM and SuperOffice consultant
Can you give me some idea how I can approach the following:
I want to write a script that will take the input from a textbox, loop through each word to evaluate it. It will look for know abbreviations and convert to the full word. It will then replace the entry with an updated string.
I know that I will have to use regular expressions to ensure it doesn't count spaces as words, and a Switch statement to evaluate each word against a list of abbreviations. But just need some ideas of the structure.
Thanks
Rob
Robert Colborne
----------------------------
Certified GoldMine, AccPac CRM and SuperOffice consultant