Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
I want to write a script, using gsub, that says 'a full stop "." becomes a vertical line "|" unless the "." is preceded by a word that has three letters or more'.
So:
"nr." becomes "nr|"
"M." becomes "M|"
"Article." remains "Article."
"person." remains "person."
"U.F.O." becomes "U|F|O|"
"can." remains "can."
Can someone help me with this? Many thanks!
Febri
I want to write a script, using gsub, that says 'a full stop "." becomes a vertical line "|" unless the "." is preceded by a word that has three letters or more'.
So:
"nr." becomes "nr|"
"M." becomes "M|"
"Article." remains "Article."
"person." remains "person."
"U.F.O." becomes "U|F|O|"
"can." remains "can."
Can someone help me with this? Many thanks!
Febri