Hi,
You can use IndexOf or LastIndexOf from String class
If it's a more complex expression you can use a regular expression, take a
look at Regex class and IsMatch method
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Dino L." <se******@gmail.com> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
how can I know does some string contain some chars?
Now I use
Text1.StartsWith("nah")
I need something like SQL code "text1 like('%nah%')"