Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Contains with empty string
Message
From
18/07/2014 10:08:56
 
 
To
18/07/2014 09:50:33
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01604011
Message ID:
01604051
Views:
32
>Another way is variable.IndexOf("substring"). It will return -1 if it doesn't exist

Duh. Forgot that one - and it would work since .IndexOf("") returns 0.
Previous
Reply
Map
View

Click here to load this message in the networking platform