Getting the End of a String
Written by Eric Smith, Northstar Computer Systems LLC
The Mid function can be used to retrieve the end of a string without having to do any calculations. If you want to retrieve the string from the 8th character to the end, you just omit the third parameter of the function, as shown here:
strSample = "Now is the time"
Response.Write Mid(strSample, 8) ' prints "the time"
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 6/1/2000
|