Why "A"="" Is Not the Same as ""="A" (138206)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q138206 SUMMARY
When using the single equal sign (=) to test for a match between a string
variable and an empty string, different results are obtained depending on
which side of the equal sign the empty string ("") is placed. This is
unlike string comparison routines that do not test first for length, such
as the double equal sign (==) operator in Visual FoxPro.
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | kbcode kbhowto KB138206 |
---|
|