Hi,
I'm writing data from one db (a) to another (b).
Some field contents of the (a) db are text strings, and all will be starting with one of eleven sets of words. I want to be able to spot these, and substitute an abbreviation.
eg
The string could be "Aelwyd Dyffryn Nantlle", so I would like it to be "Ael Dyffryn Nanttle". Or "Ysgol Gynradd Santes Helen" to "YsGyn Santes Helen".
I've just read somewhere about using ^ to spot whole strings, but I want to check for 11 strings for each entry.
thanks,
Mei
The strings are below - to be changed to:
[INDENT]Aelwyd - Ael
Adran - Ad
Ysgol Gynradd - YsGdd
Ysgol Iau - YsIau
Ysgol Gymunedol - YsGmd
Ysgol Gyfun - YsGyf
Ysgol Gymraeg - YsGym
Ysgol Uwchradd - YsUwc
Adran Bentref - AdBen
Adran Tref - AdTre
Aelwyd/Adran - Ae/Ad[/INDENT]