SunQuest
 
           .NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 26th, 2000, 12:57 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
parse comma separated text

<i><b>Originally posted by : raj (rajkedda@hotmail.com)</b></i><br /><br />How do I separate a comma separated text into an array.<br />for example:<br />states=st1,st2,st3,st4,st5 <br /> to<br />states[1] = st1<br />states[2] = st2<br />...<br />states[i] =sti <br /><br />I would like to do this in ASP as the variable is also an asp variable<br /><br />Thanks<br />

Reply With Quote
  #2  
Old September 28th, 2000, 03:09 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Cander</b></i><br />dim strStates<br />dim states<br />strStates = "GA,FL,AL"<br />states = (strStates, ",")<br /><br />'This will be the result<br />states(0) = "GA"<br />states(1) = "FL"<br />states(2) = "AL"<br /><br /><br />------------<br />raj at 9/26/2000 10:57:22 AM<br /><br /><br />How do I separate a comma separated text into an array.<br />for example:<br />states=st1,st2,st3,st4,st5 <br /> to<br />states[1] = st1<br />states[2] = st2<br />...<br />states[i] =sti <br /><br />I would like to do this in ASP as the variable is also an asp variable<br /><br />Thanks<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > parse comma separated text


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway