Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsBlank()
Message
 
 
To
21/01/2003 19:21:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00744047
Message ID:
00744081
Views:
9
>>It begs the question, why not use EMPTY() function?
>
>Interesting question
>
>I guess I never trusted it since it's been introduced. :)
>
>For comparing zero length, yes, EMPTY() is better. I guess I make a lot of use where I am comparing a specific length and always use the same approach everywhere.

Empty() function considers string empty if it's empty string or it includes only spaces, tabs, carriage returns, linefeeds, or any combination of these. Your approch takes into account only spaces. Maybe that's the reason?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform