HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
in asp
Post new topic   Reply to topic    HTML Help Forum Index -> ASP
View previous topic :: View next topic  
Author Message
savita



Joined: 18 Mar 2005
Posts: 17
Location: jamshedpur

PostPosted: Mon Aug 08, 2005 7:56 pm     in asp Reply with quote

I m getting the problem in understanding the following code can any one help me Crying or Very sad

if page<>"" then
page1 = mid(page,1,instr(1,page,",")-1)
if len(page)=4 then
statValue = mid(page,instr(1,page,",")+1,1)
else
statValue = mid(page,instr(1,page,",")+1,instr((instr(1,page,",")+1),page,"3")-1)
end if
end if
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Tue Aug 09, 2005 7:04 am     Reply with quote

It's just manipulating a string value to get a desired result.

You can get a run down on the functions used here
http://www.w3schools.com/vbscript/vbscript_ref_functions.asp
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> ASP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial