Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with string parsing into array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Divers
Thread ID:
01647020
Message ID:
01647025
Vues:
66
>>Hi
>>I need to transform a string with content similar to
>>{"ID": "0050", "Action": "Welding"},{"ID": "0040", "Action": "Bending"},{"ID": "0020", "Action": "Laser"}
>>
>>into an array ( two dimensions, 1 for ID and 2 for Action ), In the above case, that would generate:
>>Array[1,1]="0050"
>>Array[1,2]="Welding"
>>Array[2,1]="0040"
>>Array[2,2]="Bending"
>>Array[3,1]="0020"
>>Array[3,2]="Laser"
>>
>>Any ideas how to achieve this?
>>
>>Many thanks
>>Jaime
>
>http://vfpx.codeplex.com/wikipage?title=nfJson&referringTitle=Home


>
>MartinaJ


Thanks Martina. I tried once to use nfJson but with no success. QDFoxJSon did the trick.
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform