Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsBlank()
Message
 
 
To
21/01/2003 18:56:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00744047
Message ID:
00744076
Views:
12
>>It will work in SQL Server (it strips spaces before determining lenght)but not in VFP.
lcString = SPACE(1)
>>? LEN(lcString)  && Returns 1 but string is empty
>
>That's why I also put LEN(ALLTRIM(lcString)) to be more bullet proof if the string handling might contains some spaces.

It begs the question, why not use EMPTY() function?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform