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;
}
}