メインコンテンツまでスキップ
バージョン:25.4

replace

Command

The replace command replaces one or more occurrences of an old (target) text string within a container with a new (replacement) text string.

Examples:

replace oldWord considering case \
with correctSpelling in introduction
replace the last "s" in word 3 of sentence with "ed"
replace with "," the first 7 occurrences of ";" in treatise
replace every occurrence of <digit> in exampleTemplate with "9"

Further Reading

Resources in our other reference manuals.

Related terms in the SenseTalk Dictionary.