/ Published in: ASP
URL: http://reusablecode.blogspot.com/2009/01/year-of-reusable-code.html
PHP's echo() function for ASP. Besides aliasing Response.Write, it also allows \n instead of vbCrLf.
Expand |
Embed | Plain Text
<% ' Copyright (c) 2009, reusablecode.blogspot.com; some rights reserved. ' ' This work is licensed under the Creative Commons Attribution License. To view ' a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or ' send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California ' 94305, USA. sub echo(someText) Response.Write Replace(someText, "\n", vbCrLf) end sub %>
You need to login to post a comment.
