String = two parts
#2

use sscanf.
pawn Код:
new szFirstName[9], szSecondName[9];
if(!sscanf(inputtext, "p<_>s[9]s[9]", szFirstName, szSecondName)) {
     //names splitted.
}
else {
     //code here..
}
Reply


Messages In This Thread
String = two parts - by Riwerry - 28.01.2014, 20:29
Re: String = two parts - by fordawinzz - 28.01.2014, 20:52
Re: String = two parts - by Riwerry - 28.01.2014, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)