Checking characters in string
#1

Hello guys, already got code to check if is the first character of string big, also after underscore is big: example Name_Lastname .. Check code for that.

Code:
pawn Код:
new pos = strfind(inputtext, "_", true);
if(pos != -1)
{
    if(inputtext[pos + 1] >= 'A' && inputtext[pos + 1] <= 'Z')
    {
         //my code here
    }
}
But I want to check if all other characters are small example Name_Lastname
Reply


Messages In This Thread
Checking characters in string - by Riwerry - 29.01.2014, 13:45
Re: Checking characters in string - by Wizz123 - 29.01.2014, 13:53
Re: Checking characters in string - by Riwerry - 29.01.2014, 14:09
Re: Checking characters in string - by Wizz123 - 29.01.2014, 14:24
Re: Checking characters in string - by Riwerry - 29.01.2014, 14:32
Re: Checking characters in string - by Wizz123 - 29.01.2014, 14:34
Re: Checking characters in string - by Riwerry - 29.01.2014, 14:39
Re: Checking characters in string - by Konstantinos - 29.01.2014, 14:52
Re: Checking characters in string - by Riwerry - 29.01.2014, 14:54
Re: Checking characters in string - by Konstantinos - 29.01.2014, 15:10

Forum Jump:


Users browsing this thread: 3 Guest(s)