Support Legal Downloads!

Category Archives: asp

Asp echo()

This could be seen as a slightly lazy piece of classic asp code but it works for me.
Php coders should understand this one.
sub echo(input)
response.write(replace(input,”‘”,”"”"))
end sub
The single quote is now essentially being used an escape character similar to php echo which saves having to do double quotes when using response.write to output html.
Enjoy

Also posted in software, webdev | 2 Comments