General information
Category:
Active Server Page
That will work!
Thanks,
Jerry
>You could use the split function.
>
>Var1 = "apples,oranges,grapes"
>Array1 = Split(Var1,",")
>
>Array1(0) -> apples
>Array1(1) -> oranges
>Array1(2) -> grapes
>
>KP
>
>
>>I inherited an ASP page that defines 3 checkboxes that have the same name but different values. This page then posts the form vars to another ASP page which I use to capture all the form vars.
>>
>>I can capture the form vars, but the checkboxes come across as such:
>> "apples,oranges" or "oranges, grapes" or "apples,oranges,grapes"
>>
>>How can I determine what checkbox was checked from the passed in string? Is there an ATC() or SUBSTRING() function available?
>>
>>Thanks,
>>
>>Jerry
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only