Einzelnen Beitrag anzeigen

Supremacy

Registriert seit: 15. Okt 2003
20 Beiträge
 
#1

String zerlegen mal anders :)

  Alt 6. Nov 2003, 20:43
Hiho, ich habe ein Problem mit einem riesen String...
und zwar möchte ich ihn gerne zerlegen.

"1","° 1 °","r","g","Delta","Mightmeth*","","-OT-","16.690","587.588.219",
"2","^ 2 ^","g","g","Epsilon","Random_Hero*","","-OT-","12.335","549.326.170",
"3","3","","g","Iota","Nigtblade","
","&nbsp","10.430","468.701.576","4","4","","g","M y","miri","
","&nbsp","11.009","419.505.759","5","5","","g","T heta","Djarim","
","&nbsp","10.214","481.790.219","6","6","","g","E psilon","Pinky*","","&nbsp","14.828","569.510.931"

Das alles steht in einer Zeile...



das soll aber jetzt so aussehen :

"1","° 1 °","r","g","Delta","Mightmeth*","","-OT-","16.690","587.588.219"
","2","^ 2 ^","g","g","Epsilon","Random_Hero*","","-OT-","12.335","549.326.170"
"3","3","","g","Iota","Nigtblade","","&nbsp","10.4 30","468.701.576"

usw. und sofort.

dann kann ich ja leicht die "" ersetzen und dann das "," als trennzeichen nehmen....
hat jemand eine idee ? wäre echt nice.

[edit=Daniel B]String zerlegt. Mfg, Daniel B[/edit]
  Mit Zitat antworten Zitat