zorg.ch
16:14 Uhr
Events
Forum
Games
Wetten
Rezepte
Tauschbörse
Books
Space
User
1 up
|
2 up
|
3 up
|
4 up
|
5 up
|
6 up
|
7 up
|
8 up
|
9 up
|
10 up
|
Wiki Habs mal reingehÀÀngt unter
^^^ Additional posts ^^^
zorg.ch
#20828
by
milamber
@
26.05.2003 14:48
- nach oben -
Input:
Jarak "Hans Peter" bardak siki kebab
Output:
array("Jarak", "Hans Peter", "bardak", "siki", "kebab");
zorg.ch
#20873
by
freilÀnder
@
26.05.2003 16:56
- nach oben -
ok...hans leider nöd gschaft das ganze _nur_ mitÀm preg_split zmachÀ...
$text = preg_replace("/(\".*)(\s)(.*\")/","\\1_\\3",$text);
$array = explode(" ",$text);
$array = preg_replace("/(_)/"," ",$array);
...isch chli ufwendiger aber Às tuÀt...