Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LIKE statement
Message
De
28/01/2004 09:30:57
 
 
À
28/01/2004 09:08:02
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00871353
Message ID:
00871359
Vues:
15
Alvin,

You can use the StartsWith() method:
if (stringx.StartsWith("TEST")
~~Bonnie


>Hi,
>
>Is there a like statement i can use in c#.
>
>I want to do this
>
>If(stringx LIKE 'TEST%')
>{
> do something
>}
>
>
>Thanks
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform