Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to separate an variable
Message
From
20/11/2017 14:26:00
 
 
To
20/11/2017 08:24:59
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
01655668
Message ID:
01655724
Views:
53
Thank you Madam.


>>This way can also be Done.
>>
>>
>>partno = 'abc defg hijkl LMN OPQ diw -0o32ewk dkdm woewmlmdlsm'
>>L=LEN(partno)
>>nLasposition=1
>>FOR I=1 TO L
>>cSpace=SUBSTR(Partno,I,1)
>>IF cSpace=" "
>>nSpaceposition=I
>>cPart=SUBSTR(Partno,nLasposition,I-nLasposition)
>>nLasposition=I+1
>>WAIT WINDOW cPart
>>ENDIF
>>Endfor
>>
>
>
>Yes, it can, but ALINES() is faster and the code is more readable and more likely to be correct the first time.
>
>Tamar
Harsh
Previous
Reply
Map
View

Click here to load this message in the networking platform