¹®¼­¿¡¼­ ÅؽºÆ®¸¦ °Ë»öÇÏ¿©, ¹üÀ§ÀÇ ½ÃÀÛÁ¡°ú Á¾·áÁ¡¿¡ °Ë»ö ¹®ÀÚ¿­À» À§Ä¡½ÃŲ´Ù.

Àμö/ÆĶó¸ÞÅÍ
sText
ÇʼöÀûÀÎ ¿ä¼ÒÀ̸ç, °Ë»öÇÒ ÅؽºÆ®¸¦ ÁöÁ¤ÇÏ´Â ¹®ÀÚ¿­ÀÌ´Ù.
iSearchScope
¼±ÅÃÀûÀÎ ¿ä¼ÒÀ̸ç, ¹üÀ§ÀÇ ½ÃÀÛÁ¡À¸·ÎºÎÅÍ °Ë»öÀÇ ±ÛÀÚµéÀÇ °¹¼ö¸¦ ÁöÁ¤ÇÏ´Â Á¤¼ö°ªÀÌ´Ù.
¾çÀÇ Á¤¼ö°ªÀº ¾ÕÀ¸·ÎÀÇ °Ë»öÀ», À½ÀÇ Á¤¼ö´Â µÚ·ÎÀÇ °Ë»öÀ» ³ªÅ¸³½´Ù.
iFlags
¼±ÅÃÀûÀÎ ¿ä¼ÒÀ̸ç, ÇÑ°³ ÀÌ»óÀÇ ´ÙÀ½ °Ë»ö ŸÀÔ ÇÁ·¡±×(flag)¸¦ ³ªÅ¸³»´Â ÁöÁ¤ÇÏ´Â Á¤¼ö°ªÀÌ´Ù.
0 µð·ÑÆ®À̸ç, ºÎºÐÀûÀÎ ´Ü¾îµéÀÌ ÀÏÄ¡ÇÑ´Ù.
1 µÚ·Î ÀÏÄ¡ÇÑ´Ù.
2 Àüü ´Ü¾î ÀÏÄ¡ ¸¸ µÈ´Ù.
4 ´ë¼Ò¹®ÀÚ°¡ ÀÏÄ¡ÇÑ´Ù.
131072 ¹ÙÀÌÆ®(byte) ¼ö°¡ ÀÏÄ¡ÇÑ´Ù.
536870912 diacritical ±âÈ£±â ÀÏÄ¡ÇÑ´Ù.
1073741824 Kashida ±ÛÀÚ±â ÀÏÄ¡ÇÑ´Ù.
2147483648 AlefHamza ±ÛÀÚ±â ÀÏÄ¡ÇÑ´Ù.
¹Ýȯ°ª

¹Ýȯ°ª bValÀº °Ë»ö¹®ÀÚ¿­ÀÌ ¹ß°ßµÇ¾ú´Â°¡¸¦ ³ªÅ˳»´Â ºÎ¿ï°ªÀÌ´Ù.

true °Ë»ö ¹®ÀÚ¿­ÀÌ ¹ß°ßµÇ¾ú´Ù.
false °Ë»ö ¹®ÀÚ¿­ÀÌ ¹ß°ßµÇÁö ¾Ê¾Ò´Ù.
Ư±â

¹üÀ§´Â º¯°æµÇ´Â °Í°ú º¯°æµÇÁö ¾ÊÀº °Í µÎ°¡Áö »óŸ¦ °®´Â´Ù.

º¯°æµÇ´Â ¹üÀ§´Â ÅؽºÆ® ÆíÁý±â¿¡¼­ »ðÀÔÁ¡ ÆíÁý ±âÈ£¿Í °°Àº °ÍÀ¸·Î ½ÇÁ¦ÀûÀ¸·Î´Â ¾î¶² ºÎºÐµµ ¼±ÅÃÇÏ´Â °ÍÀÌ ¾Æ´Ï°í, ±× ´ë½Å µÎ ±ÛÀÚ »çÀÌÀÇ À§Ä¡Á¡À» ÁöÁ¤ÇÑ´Ù. ¹üÀ§ÀÇ ¸¶Áö¸· Á¡Àº ¾î¶² ±ÛÀÚ·Î ºÎÅ͵µ ¼±ÅõÇÁö ¾Ê´Â´Ù.

º¯°æµÇÁö ¾ÊÀº »óÅ´ ÅؽºÆ® ¾î¶² ¹üÀ§ÀÇ ÅؽºÆ®°¡ ÃëÇØÁö´Â ÆíÁý±âÀÇ ¼±Åðú °°Àº °ÍÀÌ´Ù. ¹üÀ§ÀÇ ¸¶Áö¸· Á¡Àº ¾î¶² ±ÛÀÚ·Î ºÎÅ͵µ ¼±ÅõÇÁö ¾Ê´Â´Ù.

iSearchScope ÆĶó¸ÞŸ·Î Àü´ÞµÇ´Â °ªÀº °Ë»öµÈ ¹üÀ§¿¡ »ó´ëÀûÀ¸·Î ¹®¼­ÀÇ ºÎºÐÀ» Á¦¾îÇÑ´Ù. findText ¸Þ¼­µåÀÇ ÀÛ¿ëÀº º¯°àµÈ´Â °ÍÀΰ¡ º¯°æµÇÁö ¾ÊÀº °ÍÀΰ¡¿¡µû¶ó ´Ù¸£´Ù.

ÀÌ ±â´ÉÀº Microsoft ¾Æ´Ñ Win32 Ç÷¡Æ®Æû¿¡¼­´Â ÀÛ¿ëÇÏÁö ¾ÊÀ» ¼ö ÀÖ´Ù.

findText ¸Þ¼­µå¿¡ ÀÇÇÏ¿© ÁöÁ¤µÈ ÅؽºÆ®°¡ ¾øÀ¸¸é ÅؽºÆ® ¹üÀ§´Â ¼öÁ¤µÇÁö ¾Ê´Â´Ù.

Àû¿ë
°³Ã¼scriptIE

The World Wide Web Consortium (W3C) develops interoperable technologies (specifications, guidelines, software, and tools) to lead the Web to its full potential.

TextRange¸¦ »ý¼ºÇÏ°í findText ¸Þ¼­µå·Î ÁöÁ¤µÈ ¹®ÀÚ¿­À» ã´Â´Ù.

<DIV id=divObj style="border:solid 1 blue;padding:2">
The World Wide Web Consortium (W3C) develops interoperable technologies (specifications, guidelines, software, and tools)
  to lead the Web to its full potential.</DIV>
<DIV id=showA style="border:solid 1 green;padding:2;background:ffc"></DIV>
<SCRIPT>
  str='<TABLE border=1 style=font-size:100%><COL><COL align=center><COL style=font-size:90%>';
  var rangeObj=document.body.createTextRange();
  str+='<TR><TD>rangeObj=document.body.createTextRange()=</TD><TD>'+rangeObj+'</TD><TD>TextRange »ý¼º</TD></TR>';
  str+='<TR><TD>var sBookMark=rangeObj.getBookmark()</TD><TD>&nbsp;</TD>'+
    '<TD>ºÏ¸¶Å©¿¡¼­ ÇöÀç À§Ä¡¸¦ ÁöÁ¤</TD></TR>';
  var sBookMark=rangeObj.getBookmark()
  str+='<TR><TD colspan=3>sBookMark=<BR>'+sBookMark+'</TD></TR>';
  str+='<TR><TD>rangeObj.findText("w3c")=</TD><TD>'+rangeObj.findText('w3c')+'</TD>'+
    '<TD>´ë¼Ò¹®ÀÚ ±¸º°¾øÀÌ ´Ü¾î ºÎºÐÀÏÄ¡</TD></TR>';
  str+='<TR><TD>rangeObj.findText("www")=</TD><TD>'+rangeObj.findText('www')+'</TD>'+
    '<TD>´ë¼Ò¹®ÀÚ ±¸º°¾øÀÌ ´Ü¾î ºÎºÐÀÏÄ¡</TD></TR>';
  str+='<TR><TD>rangeObj.moveToBookmark(sBookMark)=</TD><TD>'+rangeObj.moveToBookmark(sBookMark)+'</TD>'+
    '<TD>ºÏ¸¶Å©¸¦ »ç¿ëÇÏ¿© ¹üÀ§¸¦ Àç¼³Á¤</TD></TR>';
  str+='<TR><TD>rangeObj.findText("specifications", 0, 2)=</TD><TD>'+rangeObj.findText('specifications', 0, 2)+'</TD>'+
    '<TD>¸ðµç ´Ü¾î ÀÏÄ¡ ¸¸</TD></TR>';
  str+='<TR><TD>rangeObj.findText("specification", 0, 2)=</TD><TD>'+rangeObj.findText('specification', 0, 2)+'</TD>'+
    '<TD>¸ðµç ´Ü¾î ÀÏÄ¡ ¸¸</TD></TR>';
  str+='<TR><TD>rangeObj.moveToBookmark(sBookMark)=</TD><TD>'+rangeObj.moveToBookmark(sBookMark)+'</TD>'+
    '<TD>&nbsp;</TD></TR>';
  str+='<TR><TD>rangeObj.findText("W3C", 0, 4)=</TD><TD>'+rangeObj.findText('W3C', 0, 4)+'</TD><TD>´ë¼ÒºÐÀÚ ±¸º°</TD></TR>';
  str+='<TR><TD>rangeObj.findText("w3c", 0, 4)=</TD><TD>'+rangeObj.findText('w3c', 0, 4)+'</TD><TD>´ë¼ÒºÐÀÚ ±¸º°</TD></TR>';
  str+='<TR><TD>rangeObj.moveToBookmark(sBookMark)=</TD><TD>'+rangeObj.moveToBookmark(sBookMark)+'</TD>'+
    '<TD>&nbsp;</TD></TR>';
  str+='<TR><TD>rangeObj.findText("Consortium", 0, 6)=</TD><TD>'+rangeObj.findText('Consortium', 0, 6)+'</TD>'+
    '<TD>´ë¼Ò¹®ÀÚ ±¸º°ÇÏ¿© Àüü ´Ü¾î ÀÏÄ¡</TD></TR>';
  str+='<TR><TD>rangeObj.findText("consortium", 0, 6)=</TD><TD>'+rangeObj.findText('consortium', 0, 6)+'</TD>'+
    '<TD>´ë¼Ò¹®ÀÚ ±¸º°ÇÏ¿© Àüü ´Ü¾î ÀÏÄ¡</TD></TR>';
  str+='<TR><TD>rangeObj.moveToBookmark(sBookMark)=</TD><TD>'+rangeObj.moveToBookmark(sBookMark)+'</TD>'+
    '<TD>º¯°æÇÒ ¼ö ÀÖ´Â ¹üÀ§·Î ¸¸µë</TD></TR>';
  rangeObj.collapse();
  str+='<TR><TD>rangeObj.collapse()</TD><TD>&nbsp;</TD><TD>&nbsp;</TD></TR>';
  str+='<TR><TD>rangeObj.findText("Consortium", 0, 8)=</TD><TD>'+rangeObj.findText('Consortium', 0, 8)+'</TD>'+
    '<TD>¿©±â¼­´Â Å« Ä«¿îÆ®°¡ ÇÊ¿äÇÔ</TD></TR>';
  str+='<TR><TD>rangeObj.findText("Consortium")=</TD><TD>'+rangeObj.findText('Consortium')+'</TD><'+
    'TD>¼¼¹ø° ÆĶó¸ÞÅÍ°¡ ¾ø¾î Ä«¿îÆ® ºÒ ÇÊ¿ä</TD></TR>';
  str+='<TR><TD>rangeObj.findText("Consortium", 1000000000, 8)=</TD><TD>'+rangeObj.findText('Consortium', 1000000000, 8)+'</TD>'+
    '<TD>Å« Ä«¿îÆ®´Â ¹üÀ§¸¦ Æ÷ÇÔ</TD></TR>';
  str+='</TABLE>';
showA.innerHTML=str;
</SCRIPT>