-
March 27th, 2009, 08:42 PM
#1
[RESOLVED] Outputting text to file, ignoring escape characters.
I'm trying to output a file using pre-defined RTF formatting, and inputting the text where applicable.
The beginning of the file is this:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\f0\fs28 VAR1\par
And here's the problem:
Rather than go through that whole mess and add \ everywhere til it works, is there a way to ignore all escape characters? I read through googling that you can implement "@", but using them in place of quotes didnt help.
Any Ideas?
tl;dr: How do I ignore escape sequences in a string?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|