how to check a certain character
#2

we use " " for strings and ' ' for single characters, so your code must look like

pawn Код:
if(string[s]==',')
{
                       
}
And by the way, there are other mistakes such as an extra parenthese and the ";" after "if", i fixed them in the example above
Reply


Messages In This Thread
how to check a certain character - by horsemeat - 16.06.2013, 13:52
Re: how to check a certain character - by OrMisicL - 16.06.2013, 14:14
Re: how to check a certain character - by horsemeat - 16.06.2013, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)