我正在寻找解决此问题的方法:
我有一个像这样的数组
Array (
[0] =>
[1] => ─╡Bügeleisen╞─ # TF -flofloflo- ~DORSAI~
[2] => ASH 25 # TF silentglider (u) WS
[3] => Gutinedu ottomatic
[4] => Deep Space Three # TF Kleissi1978 (gu) F & P
[5] => crafted by trapper12 # TF trapper12 VR
[6] => -8- Mrs-Shooter (u) -=SC=-
[7] => ? Pitch Pink ? # TF CreShoK -=V=-
[8] => Standard Libelle silentglider (u) WS
[9] => crafted by phiLLLdd phiLLLdd (u) -=SC=- 1
[10] => V8 Vote111 (u) 3R 1
[11] => Nimbus silentglider (u) WS 1
[12] => Speed Astir silentglider (u) WS 1
[13] => Metal Gear Ray # TF KlappstuhI > ReX < 1
[14] => RK-Weporinag # TF ImperatorMar (u) -=SC=- 1
[15] => RK-Smecid # TF CrazyNeo82 (gu) NKD 1
[16] => der Mittelpunkt # TF TruNaDe A K
)
我需要每个数据集的值,例如:
| 1 | 2 | 3 | 4 |
─╡Bügeleisen╞─ # TF -flofloflo- ~DORSAI~
我想,我可以用一个简单的爆炸解决它,但看看第二个
| 1 | 2 | 3 | 4 | 5|
ASH 25 # TF silentglider (u) WS
所以...名称中可以有空格,数据集可以包含4或5个值。
我需要一个如下所示的数组:
arr[1]['val1'] = '─╡Bügeleisen╞─'
arr[1]['val2'] = '# TF'
arr[1]['val3'] = '-flofloflo'
arr[1]['val4'] = '~DORSAI~' ...
arr[2]['val1'] = 'ASH 25'
arr[2]['val2'] = '# TF'
... ... ...