28.02.2012, 12:12
Something like this, maybe;
Not tested.
pawn Код:
stock IsCaps(text[])
{
for(new i, j = strlen(text)-1; i < j; i++)
{
if(('A' <= text[i] <= 'Z') && ('A' <= text[i+1] <= 'Z'))
return true;
}
return false;
}