Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Let's see
Message
De
30/03/2021 07:21:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
30/03/2021 07:19:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01679334
Message ID:
01679342
Vues:
98
>>
lcString="ABC,DEF,GHI,JKL"
>>lcString2=""
>>x=0
>>do while x<len(m.lcString)
>>  x=m.x+1
>>  IF SUBSTR(m.lcString,m.x,1)<>","
>>    lcString2=m.lcString2+substr(m.lcString,m.x,1)
>>  ENDIF
>>enddo X
>>?m.lcString2
>
>Why not just:
>
>
>lcString="ABC,DEF,GHI,JKL"
>lcString2 = STRTRAN(m.lcString, ',', '')
>?lcString2
>
Why use STRTRAN to do the job of CHRTRAN?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform