Results 1 to 5 of 5

Thread: Like operator acts diff vs in VB6

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    N42 29.340 W71 53.215
    Posts
    422

    Like operator acts diff vs in VB6

    In VB.NET using the "Like" operator to compare 2 strings gives me a different result now, as compared to in VB6.

    Is this a bug?

    e.g. ("aza" Like "*a*z*") = False !!!
    yet, ("az" Like "*a*z*") = True (as I would expect)

    Incidentally, I tried doing a search here for "Like" and the search engine didn't like that as a keyword.

    Any ideas? Thanks, DaveBo
    Last edited by DaveBo; Apr 21st, 2005 at 10:55 AM. Reason: Typo
    "The wise man doesn't know all the answers, but he knows where to find them."
    VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15

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