double quotes mean a null-terminated string, single quotes is a single character. Replace the double quotes in the if statement to single quotes.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Online 21,950 posts
since Aug 2005