<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/asp</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 17 May 2008 04:31:20 GMT</pubDate>
<item>
<title>(ASP) Reversing Arrays in ASP - neal_grosskopf</title>
<link>http://snipplr.com/view/5878/reversing-arrays-in-asp/</link>
<description><![CDATA[ <p>ASP does not have a built in function to reverse or sort array like other languages. Find out how to do it.</p> ]]></description>
<pubDate>Tue, 15 Apr 2008 20:27:32 GMT</pubDate>
<guid>http://snipplr.com/view/5878/reversing-arrays-in-asp/</guid>
</item>
<item>
<title>(ASP) Print weekday names from Monday through Sunday - benatkin</title>
<link>http://snipplr.com/view/5743/print-weekday-names-from-monday-through-sunday/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 07 Apr 2008 17:45:28 GMT</pubDate>
<guid>http://snipplr.com/view/5743/print-weekday-names-from-monday-through-sunday/</guid>
</item>
<item>
<title>(ASP) Checking Plurals With ASP - A Simple Check Plural Function - neal_grosskopf</title>
<link>http://snipplr.com/view/5521/checking-plurals-with-asp--a-simple-check-plural-function/</link>
<description><![CDATA[ <p>I notice that a lot of database driven websites make easy mistakes by not checking for plural words. An example might be "2 vote" or "1 votes". Here is an example of a function using ASP to check for plurals.</p> ]]></description>
<pubDate>Fri, 21 Mar 2008 15:37:25 GMT</pubDate>
<guid>http://snipplr.com/view/5521/checking-plurals-with-asp--a-simple-check-plural-function/</guid>
</item>
<item>
<title>(ASP) Get File Size And Type Using ASP - neal_grosskopf</title>
<link>http://snipplr.com/view/5450/get-file-size-and-type-using-asp/</link>
<description><![CDATA[ <p>Often times it is nice to add some text after a link on your website to let your users know whether the link goes to a PDF and how large that PDF file is. I've found that manually doing this works but after awhile when that PDF file get updated, the file size next to it is incorrect. It is even possible that the link is no longer a PDF but somebody forgot update the text. 

An easy solution to these problems is to create a function within ASP that spits out the file type and the file size after the link to let your users know using asp how large a file is and what the file type is.</p> ]]></description>
<pubDate>Sun, 16 Mar 2008 20:04:31 GMT</pubDate>
<guid>http://snipplr.com/view/5450/get-file-size-and-type-using-asp/</guid>
</item>
<item>
<title>(ASP) Uppercase first Letter - f0vela</title>
<link>http://snipplr.com/view/5408/uppercase-first-letter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Mar 2008 15:17:52 GMT</pubDate>
<guid>http://snipplr.com/view/5408/uppercase-first-letter/</guid>
</item>
<item>
<title>(ASP) Numbers to Text (spanish) - f0vela</title>
<link>http://snipplr.com/view/5406/numbers-to-text-spanish/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Mar 2008 15:06:42 GMT</pubDate>
<guid>http://snipplr.com/view/5406/numbers-to-text-spanish/</guid>
</item>
<item>
<title>(ASP) Alternate row colors - f0vela</title>
<link>http://snipplr.com/view/5405/alternate-row-colors/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Mar 2008 14:58:43 GMT</pubDate>
<guid>http://snipplr.com/view/5405/alternate-row-colors/</guid>
</item>
<item>
<title>(ASP) Add 0 to a one digit number - f0vela</title>
<link>http://snipplr.com/view/5404/add-0-to-a-one-digit-number/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Mar 2008 14:52:02 GMT</pubDate>
<guid>http://snipplr.com/view/5404/add-0-to-a-one-digit-number/</guid>
</item>
<item>
<title>(ASP) Count instances of one string in another - Scooter</title>
<link>http://snipplr.com/view/5392/count-instances-of-one-string-in-another/</link>
<description><![CDATA[ <p>Similar to the substr_count function from PHP, but with fewer options.</p> ]]></description>
<pubDate>Wed, 12 Mar 2008 20:12:40 GMT</pubDate>
<guid>http://snipplr.com/view/5392/count-instances-of-one-string-in-another/</guid>
</item>
<item>
<title>(ASP) Number of days in a month - Scooter</title>
<link>http://snipplr.com/view/5390/number-of-days-in-a-month/</link>
<description><![CDATA[ <p>Returns the number of days in a given month for a given year. Requires my isLeapYear() function available here: http://snipplr.com/view/5388/check-if-a-year-is-a-leap-year/</p> ]]></description>
<pubDate>Wed, 12 Mar 2008 20:09:31 GMT</pubDate>
<guid>http://snipplr.com/view/5390/number-of-days-in-a-month/</guid>
</item>
<item>
<title>(ASP) Check if a year is a leap year - Scooter</title>
<link>http://snipplr.com/view/5388/check-if-a-year-is-a-leap-year/</link>
<description><![CDATA[ <p>Function to check if a given year is a leap year.</p> ]]></description>
<pubDate>Wed, 12 Mar 2008 20:05:14 GMT</pubDate>
<guid>http://snipplr.com/view/5388/check-if-a-year-is-a-leap-year/</guid>
</item>
<item>
<title>(ASP) Temperature Conversion - Scooter</title>
<link>http://snipplr.com/view/5386/temperature-conversion/</link>
<description><![CDATA[ <p>This function library allows conversion between temperatures in the following scales: Celsius, Delisle, Fahrenheit, Kelvin, Newton, Rankine, Reaumur, and Romer.</p> ]]></description>
<pubDate>Wed, 12 Mar 2008 20:01:01 GMT</pubDate>
<guid>http://snipplr.com/view/5386/temperature-conversion/</guid>
</item>
<item>
<title>(ASP) Trigonometry Library - Scooter</title>
<link>http://snipplr.com/view/5384/trigonometry-library/</link>
<description><![CDATA[ <p>Library of trigonometry functions, both circular and hyperbolic.</p> ]]></description>
<pubDate>Wed, 12 Mar 2008 19:57:19 GMT</pubDate>
<guid>http://snipplr.com/view/5384/trigonometry-library/</guid>
</item>
<item>
<title>(ASP) How To Serve XHTML to Internet Explorer 6 And 7 as XML Using Content Negotiation - neal_grosskopf</title>
<link>http://snipplr.com/view/5374/how-to-serve-xhtml-to-internet-explorer-6-and-7-as-xml-using-content-negotiation/</link>
<description><![CDATA[ <p>Serve your xhtml pages correctly with this script and xsl file. Most websites serve their xhtml pages as text and not xml to Internet Explorer. With this it will serve to IE as xml. Your sites will be more valid because they will validate against the xml validator rather than the html validator.</p> ]]></description>
<pubDate>Tue, 11 Mar 2008 19:47:12 GMT</pubDate>
<guid>http://snipplr.com/view/5374/how-to-serve-xhtml-to-internet-explorer-6-and-7-as-xml-using-content-negotiation/</guid>
</item>
<item>
<title>(ASP) Regex Functions - jc001</title>
<link>http://snipplr.com/view/5261/regex-functions/</link>
<description><![CDATA[ <p>Easy functions, comments in code.

From:  http://www.ilovejackdaniels.com/asp/vbscript-regular-expressions/</p> ]]></description>
<pubDate>Mon, 03 Mar 2008 16:37:48 GMT</pubDate>
<guid>http://snipplr.com/view/5261/regex-functions/</guid>
</item>
<item>
<title>(ASP) Sample ASP Code - udayrayala</title>
<link>http://snipplr.com/view/5160/sample-asp-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 05:30:46 GMT</pubDate>
<guid>http://snipplr.com/view/5160/sample-asp-code/</guid>
</item>
<item>
<title>(ASP) Simple ASP form validation - elightbo</title>
<link>http://snipplr.com/view/4283/simple-asp-form-validation/</link>
<description><![CDATA[ <p>Needs work to check for hidden fields, and those that aren't required</p> ]]></description>
<pubDate>Fri, 07 Dec 2007 16:51:40 GMT</pubDate>
<guid>http://snipplr.com/view/4283/simple-asp-form-validation/</guid>
</item>
<item>
<title>(ASP) asprss - miziomon</title>
<link>http://snipplr.com/view/3347/asprss/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 Jul 2007 09:36:55 GMT</pubDate>
<guid>http://snipplr.com/view/3347/asprss/</guid>
</item>
<item>
<title>(ASP) getOS - krisdb</title>
<link>http://snipplr.com/view/3095/getos/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 29 Jun 2007 07:37:09 GMT</pubDate>
<guid>http://snipplr.com/view/3095/getos/</guid>
</item>
<item>
<title>(ASP) split checkboxes - krisdb</title>
<link>http://snipplr.com/view/2662/split-checkboxes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 May 2007 11:27:03 GMT</pubDate>
<guid>http://snipplr.com/view/2662/split-checkboxes/</guid>
</item>
</channel>
</rss>