Results 1 to 4 of 4

Thread: How can I to use LIKE in VB

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Question How can I to use LIKE in VB

    Hi

    How can I to use LIKE statment in VB, I do not to referecing with SQL , I want to use LIKE manipulating Strings

  2. #2
    Frenzied Member cssriraman's Avatar
    Join Date
    Jun 2005
    Posts
    1,465

    Re: How can I to use LIKE in VB

    Here is the sample usage of Like:
    VB Code:
    1. Dim test As String
    2. test = "12-34"
    3. If test Like "##-##" Then
    4.     Debug.Print "Success"
    5. Else
    6.     Debug.Print "Failure"
    7. End If
    CS

  3. #3

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width