Need help with strings.
#1

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.
Reply


Messages In This Thread
Need help with strings. - by xOFxK1LLER - 30.04.2012, 13:39
Re: Need help with strings. - by Finn - 30.04.2012, 14:01
Re: Need help with strings. - by SuperViper - 30.04.2012, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)