
29.08.2004, 21:56
|
|
Регистрация: Apr 2004
Адрес: Петербург
Сообщений: 549
|
Сорри
str = "stop time";
your = "stop this time now"
words = str.split(" ");
count = words.length;
repeat = 0;
for(i=0; i<count; i++){
if(your.indexOf(words[i])>=0) {
repeat++;
}
}
if(repeat==count)trace("ok")
__________________
За двумя зайцами погонишься - от егеря по морде получишь
|