g
Printer Friendly Version

editor  
BellaOnline's ASP Editor
 

ASP String Function List

Strings, or variables that take letters and numbers, are used in just about every ASP script written. Here are some functions that allow you to work with them.

Asc
Returns the ascii code of a given character.

cStr
Converts an integer or other numeric value into a string.

InStr
Located the first occurrence of a character or characters within a string.

LCase
Makes an entire string lower case.

Left
Gets the leftmost X characters from a string

Len
Tells you the number of characters in a string.

Replace
Replaces a character or characters within a string with a new character or characters.

Right
Gets the rightmost X characters from a string

Split
Break a string up into bits based on spaces, periods, or other characters.

Trim
Removes any spaces from the beginning or end of a string.

UCase
Makes an entire string upper case.

Introduction to ASP Ebook

Download this ebook to get everything you need to know about learning ASP - from a step by step tutorial to function lists, sample code, common errors and solutions, and much more! 101 pages.

ASP Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Lisa Shea for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2023 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor