Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to separate an variable
Message
De
18/11/2017 15:48:59
 
 
À
18/11/2017 09:20:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
01655668
Message ID:
01655676
Vues:
70
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
>how to separate an variable
>
>partno = 'abc defg hijkl'
>
>into
>
>partno[1] = 'abc'
>partno[2] = 'defg'
>partno[3] = 'hijkl'
>
>Thanks for the help
>
>Jerry
Harsh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform