How to fromat text in vba. I have to format Outlook.MeetingItem.Body
to plain text. This object contains text with quotes and new lines, I wont to handle somehow this text.
For example write something like
sudocode:
if meetingitem contains quotes or newlines change quotes to single quotes and new lines to symbol(\n)
At the moment my MeetingItem.Body
looks like (Example):
Hi every one
If you looking for "Dance", "Bus" or "Car"
go this way:otherwise go:
I will replase newlines after "one", "Car", "way", "emptyline", "go" - with \n
and double quotes with single quotes. And I don't know what my email using LF or CR LF(how to check that?).
Why? I will put this String after in to my JSON, maybe there is better way to do that but I've found only that. I can't put string with double quotes and new lines in to JSON.