|
Posted by Gernot Frisch on 09/28/64 11:48
I don't know where to look for the syntax of that command.
Here's the string I have:
0) Kung Fu : 1000n1) jack : 150n2) jim : 10n3) jonny : 0n
It should split up in:
array('Kung Fu' =>1000, 'jack'=>150, 'jim'=>10, 'jonny'=>0);
That's what I have found somewhere:
preg_match_all('/d+)s(.+)s:s(.+)/', $content, $tokens);
But it gives:
Warning: preg_match_all() [function.preg-match-all]: Compilation
failed: unmatched parentheses at offset 2
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
Navigation:
[Reply to this message]
|