Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsBlank()
Message
From
21/01/2003 18:56:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00744047
Message ID:
00744067
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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform