Показать сообщение отдельно
Старый 13.02.2006, 15:17   #4  
Владимир Максимов is offline
Владимир Максимов
Участник
КОРУС Консалтинг
 
1,654 / 1158 (42) ++++++++
Регистрация: 13.01.2004
Записей в блоге: 3
PHP код:
static void JOB_TextBuffer(Args _args)
{
    
int pos;
    
TextBuffer textBuffer;
    ;
    
textBuffer = new TextBuffer();
//////////////////////////////////
// Вот самая важное место
    
textBuffer.ignoreCase(false);
///////////////////////////////////
    
textBuffer.setText("ABC DEF GHI JKL MNO ABC ABC");
    
pos 0;
    while (
textBuffer.find("abc",pos))
    {
        print 
"String found at position: "textBuffer.matchPos();
        
pause;
        
pos textBuffer.matchPos()+1;
    }

За это сообщение автора поблагодарили: alex55 (1).