Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quickie - removing first 5 characters of a string 1

Status
Not open for further replies.

timtom

Programmer
Jul 12, 2001
78
GB
I need to get rid of the first five characters of a querystring. Is there a simple way of doing this? Thanks for any help.
Sarah
User_timtom.jpg
WASN'T FIT ENOUGH FOR THE POLICE FORCE
 
strTest=request.querystring("value")
Response.Write mid(strTest,6,len(strTest)-5)
 
Cheers Sarkman. Didn't think I'd fix that before I went home today :)
User_timtom.jpg
WASN'T FIT ENOUGH FOR THE POLICE FORCE
 
Or you can use:-

Right(strTest, Len(strTest) - 5)

Codefish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top