Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing words case or abbreviation in sentences
#8
Reopened to adapt it.

Works flawlessly for word replacements, but i'd like to do the same with ponctuation, say replace ":" by " - ".

Show work, but all my attemps, fail, so I suspect a quoting trick to be used. Any idea?

Code should be:

str replacements=
":"," - "
","," "
"?","!"

etc.

The quotes are only to show pairs, does not work in code.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)