ASP Is Fun

Learning ASP
Free Course
Basics
Functions
SQL Commands
Sample Code

Servers / Setup
Host Reviews
Server Setup
Error Tips

Contract ASP
Development

Intro to ASP



 


Len ASP String Function



Len is a commonly used ASP function that allows you to determine the number of characters in a string. In other languages, a similar function would be "length". Len takes in just one parameter:

* The string variable to operate on

The original string variable is not altered.

Let's say you have a string called UserName which is equal to "Lisa Shea". You want to know how long that string is, to help you cut it into two pieces. To do so, you would use:

NameLen = Len(UserName)

The result is that NameLen would be equal to 9.

ASP String Functions


ASP Main Page | ASP Ebooks | Free ASP Course | Contact Lisa
All content copyright © 2008 Minerva WebWorks LLC. All rights reserved.

Irish Wedding


Free Newsletter!

Ebooks
Intro to ASP
ASP SQL DB
Members
Shopping


Introduction to ASP

Romance Tips
Irish Romance
Italian Romance
French Romance

ASP Poll
How do you handle 500 errors?
I don't
Page does nothing
Displays error
Emails error