+ Reply to Thread
Results 1 to 3 of 3

Checking if not equal

  1. #1
    Registered User
    Join Date
    06-01-2005
    Posts
    13

    Checking if not equal

    Hey guys, Im looking for some help with some code. I need an If statement that first checks to see if a string has any letters in it. What I have is:

    If Len(featuretwo) 'does not equal' 0 Then

    Just curious what expression I need to put in place of 'does not equal'.
    I tried:

    If Len(featuretwo = Not 0 Then

    That one didn't seem to work

  2. #2
    Registered User
    Join Date
    06-01-2005
    Posts
    13
    Nevermind guys, I got it. Thanks anyway though!

  3. #3
    Forum Contributor
    Join Date
    03-24-2004
    Location
    Edam Netherlands
    Posts
    181
    use:

    If Len(featuretwo) <> 0 Then

    or

    If Len(featuretwo) > 0 Then

    because Len is never less then zero

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1