22.01.2013, 13:54
I want to check for example if '@' exist in a string.
for(new i = 0; i < strlen(string); i++)
{
if(string[i] == '@')
{
//The string contains @.
}
else //The string doesn't contain @.
}
if(strfind(string,"@",true,0)>-1)
if(strfind(email, "@gmail.com", true) != -1 || strfind(email, "@hotmail.com", true) != -1 || strfind(email, "@walla.com", true) != -1 || strfind(email, "@walla.co.il", true) != 1 || strfind(email, "@yahoo.com", true) != 1 || strfind(email, "@aol.com", true) != 1) {