Codefixer - ASP tutorials, resources and software
ASP.NET Hosting with US & UK Data Centers!
Home   Articles   Resources   ASP directory   ASP Tutorials   Code Snippets   ASP Applications   Forum
Sunday 7 September
MembersPro PayPal - ASP Membership software

New MS SQL 2008 Available – DiscountASP.NET


ASP Partner ASP Partner ASP Partner more partners...

Parsing strings in ASP using VBscript functions

First of all a string is a group of characters. These characters can be letters, numbers or even special characters like the exclamation mark or the ampersand. This group of characters encapsulated within quotations are stored in a variable.

Our example code below sets our variable myString equal to the string of characters "Good day!"

<%
'Declare variable
Dim myString
myString ="Good day!"
%>

Using some of the VBScript functions below we can manipulate and work with the strings that variables hold.

InStr function
Left and Right functions
Len function
Replace function
LCase and UCase functions
Mid function
Trim LTrim and RTrim functions

Learn how to Concatenate Strings

LinksPro - Directory  and Link  Management Software




ASP.NET 3.5/2.0 Web Hosting: 3 Months FREE – Click Here!




About | Contact | Advertise | Feedback | Hire Us | Link

Site developed by Michael Wall - Web Design Belfast N.Ireland.
Copyright © 2000-2008. All rights reserved.

Do you intend to move to ASP.NET or have you already?
Yes will do
Have done
ASP does fine
Not a priority


Directory Software