Community discussion forum

Re: How can i search a string include ' example 'John

  • 1 year ago

    Hi, What exactly areyou trying to do? Could you provide a little more information?

    If you have a string, yuou can use the InStr function to discover whether it contains a certain substring/character.  eg.

    Dim myString As String
    myString = "'John"
    If InStr(1, "myString", "'") > 0 Then
         'The string is present
    End

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!