Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18

Thread: how to test if a string is not empty

  1. #16
    Join Date
    Dec 2004
    Thank you. I appreciate that. All is forgiven and no hard feelings on my part.

  2. #17
    Join Date
    Jan 2014
    I know its close to 10 years later, but if I would have found this article when it was first posted I would have saved myself a few headaches down the road. Anyway, I agree with phpnovice. For a long time I thought that only values greater than zero were considered true. It was because I picked up the concept from code snippets while "self teaching" myself how to program via online research. Once, I was properly educated I learned that its all numbers except zero that are considered true. I learned this the hard way when my logic was failing. I couldn't figure out why it was failing because it "looked" write. Anyway now I know.

  3. #18
    Join Date
    Jul 2003


    Thanks a lot for your reply. Good to get a reply close to 10 years after the post.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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