Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing words case or abbreviation in sentences
#2
For such simple replacements use findreplace.
Macro Macro2100
Code:
Copy      Help
str ff="the phrase where i want the i in upper case, no, and Op. etc"
str replacements=
;i,I
;no,N°
;Op.,Opus
ICsv x._create; x.FromString(replacements)
int i
for i 0 x.RowCount
,ff.findreplace(x.Cell(i 0) x.Cell(i 1) 2)
out ff


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)