The changewordexact statement replaces one word with another in the current field (selected records only).
Parameters
This statement has two parameters:from – word to change.
to – new replacement word.
Description
This statement replaces one word with another in the current field (selected records only). Only entire words are replaced. This statement is quite smart – it knows about punctuation, and it will match the capitalization of the word being replaced.
This example will scan thru the current field and replace every occurence of the word one with the word uno. It will not replace words that contain the letters o n e, for example someone or oneida.
changewordexact "MacDonald","McGinty"
If you need a statement that is case insensitive and can match the existing capitalization of the text being replaced, see the changeword statement..
See Also
History
Version | Status | Notes |
10.0 | Updated | New in this version, but implements part of the functionality of the change statement in legacy versions of Panorama. |