You can use the .NET Regular Expression parser for pattern searching.
The code in VB.NET to do what you want to do would be:
Imports System.Text.RegularExpressions
...
if Regex.IsMatch("my Test is this", "\.*test\.*", RegexOptions.IgnoreCase) then
else
end if
>Hi,
>
>Is there a like statement i can use in c#.
>
>I want to do this
>
>If(stringx LIKE 'TEST%')
>{
> do something
>}
>
>
>Thanks
Hector Correa