Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with string parsing into array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01647020
Message ID:
01647022
Views:
62
>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
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform