OK. If your want to use this with alphabetical text two lines would require changes
The if statement here should be :
(foreach att atts
(if (setq n (vl-position (strcase (vlax-get-property att 'textstring)) (mapcar 'strcase o_lst))) (vlax-put-property att 'textstring (nth n n_lst)))
);end_foreach
And likewise here
(if (setq n (vl-position (strcase (vlax-get-property obj 'textstring)) (mapcar 'strcase o_lst))) (vlax-put-property obj 'textstring (nth n n_lst)))