26.01.2011, 19:31
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:
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?
}
}