Print Page | Close Window

Removing Characters of A QueryString

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=5971
Printed Date: 31 March 2026 at 4:48am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Removing Characters of A QueryString
Posted By: ldiuf
Subject: Removing Characters of A QueryString
Date Posted: 25 September 2003 at 10:14am

Hey,

I was wondering if someone can assist me in removing the first three letters/characters of a value retrieved from a QueryString.

I.e.      fldConnected    is retrieved with    Request.QueryString("qf")    and I get the value of    fldConnected. Now I want to take the first three characters    fld   and strip them from the value so it'll now be    Connected. I want to do this so that I can use the very same querystring for a second function that only needs the    Connected part.

 

Thanks A bunch.

Larry




Replies:
Posted By: MorningZ
Date Posted: 25 September 2003 at 10:30am

Mid(Request.QueryString("qf"),4)

http://www.devguru.com/Technologies/vbscript/quickref/mid.html - http://www.devguru.com/Technologies/vbscript/quickref/mid.ht ml



-------------
Contribute to the working anarchy we fondly call the Internet



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net