Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsBlank()
Message
 
 
À
21/01/2003 18:56:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00744047
Message ID:
00744076
Vues:
21
>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform