CodeAve.com CodeAve.com - ASP - Miscellaneous
ASP
·Read/Write
·Script Writers
·Database Display
·Response Objects
·Server Variables
·Random Events
·Articles
·Miscellaneous
·Contents
·What's New?
JavaScript
CSS
HTML
Maps
Links
Mail List
Search
Sitemap


 


Separating Delimited Values
Separating delimited values is a useful tool especially when you utilize dropdown menus where more than one selection is permitted or when multiple checkboxes are used as the form of input.  The split function will place a numeric, beginning with zero in parenthesis after the variable name.  The ubound function will tell how many delimited values were found.  
View the Output
Text View
Print View
Mail this Link
Download the Code

<%
u_input=request.querystring("u_input")
if u_input ="" then 
u_input ="a,b,c,d"
end if
g_input=split(u_input,",")
num_inputted=ubound(g_input)
%>



<form>
<input type = "text" name = "u_input" value = "<%= u_input %>">
<input type = "submit" value = "Submit">

</form>

User Input: <%= u_input %><br>
Number of Inputted Values: <%= (num_inputted + 1) %><br>
<% for counter =0 to num_inputted %>
User Inputted Value(<%= counter %>) = <%= g_input(counter) %><br>
<% next %>

 

 

 



ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
Server Variables | Response Objects | Random Events | Miscellaneous
HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
JavaScript: Document Info | Forms | Images | Navigation | Script Writers
CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

  • Kids jordan 6 rings
  • Jordan retro 10
  • Jordan retro 3