Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with strings
Message
De
08/12/2005 15:45:53
 
 
À
08/12/2005 14:01:56
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:
01076393
Vues:
22
>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

In VBscript there is a function call InStr().

http://www.devguru.com/Technologies/vbscript/quickref/instr.html
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform