Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with strings
Message
De
08/12/2005 15:39:20
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
01076331
Message ID:
01076391
Vues:
23
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
Fil
Voir

Click here to load this message in the networking platform