Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to check a value in a field for spaces?
Message
From
05/10/2000 16:42:19
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00425496
Message ID:
00425665
Views:
13
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform