Information générale
Catégorie:
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement