Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to check a value in a field for spaces?
Message
De
05/10/2000 16:42:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00425496
Message ID:
00425665
Vues:
12
>>>>I want to check a value in a field for the first occurrence of a space
>>>>and report back the character length of that field value.
>>>>any idea?
>>>
>>>iLength = AT( " ", FieldName )
>>works....thanks...:)
>
>Actually, there is an off-by-one error. Line should be:
>
>iLength = AT( " ", FieldName ) -1
Hi, Are you saying off-by-one because...
iLength = AT( " ", FieldName ) returns value plus 1 and 1 is a space?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform