hi frends,
I have a problem of selecting a specific substring from a string....
such as----

i have a string "sneha". i have to search "eha" in this string .how can i do this?


Thanks

Recommended Answers

All 2 Replies

If it's an exact match, you can use the Contains method from the string class. If it's more of a fuzzy match, you can use regular expressions with the Regex class.

hi frd.
Thanks a lot for given a idea. This give me a right direction to compete my programme.
bye....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.