30.04.2012, 13:39
Hi,
I wanted to ask how i could split my string. For example: The string looks like this: Test1 | Test 2 | Test 3 | etc..
So i want to split this string. Everytime it finds an "|" it should return the text before the "|".
So it would look like this:
SendClientMessage(playerid, COLOR, "Test1");
SendClientMessage(playerid, COLOR, "Test2");
SendClientMessage(playerid, COLOR, "Test3");
etc..
Hope you can help me.
I wanted to ask how i could split my string. For example: The string looks like this: Test1 | Test 2 | Test 3 | etc..
So i want to split this string. Everytime it finds an "|" it should return the text before the "|".
So it would look like this:
SendClientMessage(playerid, COLOR, "Test1");
SendClientMessage(playerid, COLOR, "Test2");
SendClientMessage(playerid, COLOR, "Test3");
etc..
Hope you can help me.