Transform To...
Version 1.2 Limited (maximum 2000 characters)
(IE 5.5+ only)
Response.Write
vbCrLf
Un-Response.Write
FileSystemObject.WriteLine:
String:
Remove CrLf
txt
Add ASP Comment
Remove ASP Comment
Add JavaScript Comment
Remove JavaScript Comment
Remove HTML tags
HTMLize
 
Insert Hyperlink
Remove Empty Lines
Trim Lines
Use Options Only
How to use Transform To... -------------------------- You can click the labels instead of clicking the radio buttons and checkbox. Transformation Options are maintained after submitting the form so you dont have to reconfigure it everytime you want to repeat an action. Type some text here or use the Paste From Clipboard button to copy text or code from your editor to this box... Then select an action and some options and click the TRANSFORM button. Use the Copy To Clipboard button to transfer the transformed text or code back to your editor. Leave the lines of code highlighted in your editor after copying them to the Clipboard so that after converting and copying them back to the Clipboard you can just return to your editor and do a Paste to replace the highlighted code. If you use the Auto-Copy Result To Clipboard option you will not need to click the Copy To Clipboard button after TRANSFORMation. The Clipboard buttons and the Auto-Copy option might not work on some browsers. Transform To... was devised and tested with Microsoft Internet Explorer US-English 128 bits Version 6.0.2800.1106 Version 1.1 fixes a bug that prevented some of the javascript code to work on computers running Windows XP. Possible Actions are: --------------------- Response.Write Will transform text or html into Asp Response.Write Statements. You can add vbCrLf to the end of each lines. Un-Response.Write Will turn Response.Write Statements into text or html. FileSystemObject.WriteLine Will transform Html, Text or Asp Code into FileSystemObject.WriteLine Statements to be saved in a text file. You have to supply the FileSystemObject variable name. String Will transform Text or Html into a Asp String Variable assignment statement. You have to supply a variable name. Remove CrLf Will transform multiple lines of text or Html into a single line, but will leave empty lines by default. Use the Remove Empty Lines option to transform everything into a single line of text or Html. If TXT is checked it will replace CrLf with a space. This will keep the text readable by maintaining the space between phrases and words. Add ASP Comment Will make Asp Lines of code commented. For quickly commenting blocks of code. Remove ASP Comment Will remove the comment added by the previous function. It looks for ' then a space at the beginning of each lines. Add JavaScript Comment Will make JavaScript Lines of code commented. For quickly commenting blocks of code. Remove JavaScript Comment Will remove the comment added by the previous function. It looks for // then a space at the beginning of each lines. Remove HTML Tags Will remove all html tags from the text. Also removes . It looks for anything and remove everything found between <> characters. Insert Hyperlinks Will insert html hyperlink tags when it finds something that looks like a url or email address. Remove Empty Lines Will do just that, remove empty lines. Trim Lines Will remove spaces from the beginning and the end of each lines. HTMLize Will transform text into HTML by adding font tags and a <br> at the end of each lines. Use Options only Will transform the text or code using only the transformation options. Transformation Options are applied BEFORE transformation is executed. Transformation Options are applied one after the other. This means that a line containing only one or more Tabs that are converted to spaces and then Trimmed will be removed by the Remove Empty Lines option. Click the Reload The Form link at the bottom of this page to come back to this text. For those of you who are wondering why the JavaScript code for auto-pasting on window focus is in the page but not available in the option list... Its because it was pasting back the un-transformed code after transformation since a window focus event is fired when the result page is displayed. Questions, comments and suggestions are welcome... This Asp Script contains 1107 lines of code including the 108 lines of this text and the Javascript and Html code used to display the page. TRANSFORMation is accomplished by only 89 lines of Asp code. This Asp Script generated about 65% of its own Asp code. This Limited version will only process 2000 characters.
Transformation Options:
Remove Tabs
Replace Multiple Spaces with
space(s)
Replace Tabs with
space(s)
Do Not Trim Lines
Left Trim
Right Trim
Trim Both
Remove Empty Lines
Auto-Copy Result to Clipboard
Reload The From...
Also available: Transform List To Code...
Copyright©2003-2004 Christian Ernst
Questions, comments, suggestions...
Your personal
Transform To
usage counter: 0 TRANSFORMation ()