Check characters
#1

Hello,
How can I check if string contains more than 3 dots?
This is something similar, but I don't know how to make it to count dot symbols:
pawn Код:
new count;
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        switch (string[i])
        {
            //How to count '.' symbols here?
        }
    }
Reply


Messages In This Thread
Check characters - by *IsBack - 26.01.2011, 19:31
Re: Check characters - by Vince - 26.01.2011, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)