Arrays are without a doubt mans best friend. Sorry dogs but I think you now come in second. There are many ways to use arrays. Here are a couple of quick examples
There will come a time when you need to dice up a string which is all one word or a number. In this particular case, Split() won't work for you. What we will discuss here is Left() Mid() and Right(). These functions will allow you to get only the part of a word or number you need.
Lets talk about the Len() function for just a minute. Len as you may have deduced is LENGTH. It's really pretty straight forward. Here's a quick example
Often times it is necessary to take a string and dice it up in order to extract portions to be used for some obscure purpose. Enter the Split() function. Split is a very easy concept to grasp. Just decide where you want to split your string and away you go
When writing an ASP script, it is sometimes useful to temporarily transfer execution to another script, and then continue the original script with the result of the called script
So, you are tired of writing scripts over and over to do the same thing, or do you just want to give your server side scripts a kick in the asp? If you answered 'yes' to either option, then this article is for you. Welcome to geekland!
If you want to process a different series of tests and act based on the results of these tests, there are a couple of ways you can go about this using Conditional statements . We have a choice of 2 statements in VBScript If..Then...Else and Select...Case
Using the script components you can build components without the need to learn another language such as Visual Basic or Visual C++ . Some examples of their usage could be form processing , email validation or even database access
Often when writing code, it's helpful to be able to perform different actions based on the value of a variable. Normally this is done with using an "If...Then...Else...End If" statement or a "Select Case" statement. Consider however the following situation...