Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27376

VS 2008 multiple parameters

$
0
0
I'm look for a way to check if a string contains several difference terms.

It's an "or" function.

If x_string.contains("car", "plane") Then - syntax error
If x_string.contains("car") or x_string.contains("plane") Then - this will work but the number of terms is dynamic. It could be 1 term or 10 terms.

Viewing all articles
Browse latest Browse all 27376

Latest Images

Trending Articles



Latest Images