![]() |
|
|
Parsing strings in ASP using VBscript functionsFirst 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 functionLeft and Right functions Len function Replace function LCase and UCase functions Mid function Trim LTrim and RTrim functions Learn how to Concatenate Strings
Site developed by Michael Wall - Web Design Belfast N.Ireland. |
|