How do I find if some Text exists in a String?

  • Thread starter Thread starter Paul D. Fox
  • Start date Start date
P

Paul D. Fox

I have a string value called

String strName = drReader("DomainUser") //e.g. myDomain\JDoe

I want to find out if the string contains "myDomain\" so I can do some
other processing.

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top