我有其代表在格式多维数组的字符串:[[A,A],[B,B]]字符串到多维数组
有一种简单的方法来将此字符串转换成多维数组。
虽然,现在我只是寻找上述解决方案,字符串本身有点复杂。
例如在[[A,A],[B,B]]
where A could be "This is a sample text, but could be complicated"
There is a high possibility that the delimiter comma exists in the text (which will be escaped)
谢谢,对于任何建议。
谢谢。如果它符合我的需求,我需要进一步观察。它看起来像要走的路。我还不确定。 :-) – 2009-12-10 01:47:32
工程就像一个魅力。 – 2009-12-10 13:24:12