Hi,
The following script replaces the ^n notions to the superscript notations, although it works only for the literal strings, but not for the above linkage notations:doc -e G {
if(left(%B,4)$=="Text") {
for(ii=1; ii<10; ii++) {
string aa$=%B.text$;
nn=find(aa$,^$(ii));
if(nn>0) {
bb$=Replace(aa$,nn,2,\+($(ii)))$;
%B.text$=bb$;
}
}
}
}
So, you have two exclusive choices - either to use the literal string for this script, or to use the linking string. Could someone please solve this dilemma?
--Hideo Fujii
OriginLab