CSharp Text Parser to String Variable
I regularly find myself creating constant strings or including Sql statements in c# source files. I like everyone else hate sitting there putting quotes around the lines of text, so I setup a web page with a parser to do it for you.
Very easy instructions.
- Specify the name of the variable you want to use.
- Paste or enter the text into the Input Code text area.
- Hit convert.
- Copy rendered code from Output Code text area.
- Your done.
Simple easy and works for almost all strings. I’ll be adding special character support and fixed width wrapping soon, but give it a try and see if it doesn’t save you some time.
I’ve added a link at the top of the page or here.
Whoops…. BUG in firefox doesn’t see the line breaks correctly. I’ll be testing and fixing this weekend.
No comments yet. Be the first.
Leave a reply