Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I split strings with | in them?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00214427
Message ID:
00214447
Vues:
34
>
>The screen seperation sign is |(besides the + sign). How do I go about

My suggestion would be first to store the length of the original field, and then identify the location of the first occurence of the sep sign. I think the function is atc(). The seperate the field using two substring calls, the first form position one to the position of sep sign minus one, and the second beginning with the position of the sep sign plus one to the end of field (which is determined by the calculation (original full length minus position of the sep sign plus one). Whallah, two fields!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform