How divide a string into array
Posted
by Ricky
on Stack Overflow
See other posts from Stack Overflow
or by Ricky
Published on 2010-02-26T08:22:45Z
Indexed on
2010/04/11
4:23 UTC
Read the original article
Hit count: 315
If I have the following plain string, how do I divide it into an array of three elements?
{["a","English"],["b","US"],["c","Chinese"]}
["a","English"],["b","US"],["c","Chinese"]
This problem is related to JSON string parsing, so I wonder if there is any API to facilitate the conversion.
© Stack Overflow or respective owner