Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LIKE statement
Message
From
28/01/2004 09:30:57
 
 
To
28/01/2004 09:08:02
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00871353
Message ID:
00871359
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform