Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find the space
Message
 
 
To
01/11/2004 07:20:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Miscellaneous
Thread ID:
00956490
Message ID:
00956491
Views:
7
>I have a field that is defined as a caracter, and I want to detect a space in the used part of the field (not the space at the end of the text). is there a difrence in the definithion of the two kinds of spaces? if not how can I request the space in the first 10 letters only?
>example: 06 7129361. I want to get (by select * from) only lines that there is a space in the first ten characters.
IF ( SPACE(1) $ ALLTRIM(myfield))
  ? "There's space bettwen characters"
  ...
ELSE
  ...
ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform