Dear Gregory;
Thankssssssssss.
I have records in thousands and want to do corrections in spelling in few variables. Example.
I want to Replace Islamabd with Islamabad in data file.
Regards.
arshad
Replace wrong text with correct text
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Replace wrong text with correct text
Perhaps you can create a dictionary of words that you want to modify and then use the loadcase function to change these words. See the attached program.
PROC WORD
if loadcase(WORDS_DICT,WORD) then
WORD = GOOD_WORD;
endif;
if loadcase(WORDS_DICT,WORD) then
WORD = GOOD_WORD;
endif;
- Attachments
-
- fixWords.zip
- (2.97 KiB) Downloaded 365 times
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Replace wrong text with correct text
Thanks.
a.
a.