ºô­¶¼ÐÃD¡G ¡yindexof ·j´M¦r¦êªº¦ì¸m¡z¯d¨¥ª©¡A¦@¦³5«h¯d¨¥


¡@¡@';

¡eª©¤l#1¡fÂF¤l¡A¥Á°ê102¦~2¤ë20¤é¡]¬P´Á¤T¡^13ÂI29¤À

    ·j´M¦r¦ê¬O§_¦³¨§¸¹¡H

¡@¡@

¡eª©¤l#2¡fÂF¤l¡A¥Á°ê102¦~2¤ë20¤é¡]¬P´Á¤T¡^13ÂI44¤À

¤W­±¦¨¬O­ì©l½X¦p¤U¡G

<script>
var str1 = "§Ú³o¸Ì¦³­Ó³r¸¹¡A¥¦¨ºùئ³­Ó¥y¸¹¡C";
var s = str1.indexOf("¡A"); // ¦b³o¸Ì·j¯Á¦r¦ê¦ì¸m
document.write(str1 + "
¡u³r¸¹ªº¦ì¸m¦b¡v¡G#" + s);
</script>

¤U«h¯d¨¥¡A
§Ú¦A°µ¥t¤@ºØ­×§ï¡C

¡@¡@

    -1 ¥Nªí¨S¦³³o­Ó²Å¸¹¡C­ì¨Ó¦p¦¹¡A¦b¯d¨¥ª©³ºµM¤]¯à¼g¦¨¬O¡A¦Ñ¤Ñ¡C';

¡eª©¤l#3¡f¤£ª¾¡A¥Á°ê102¦~2¤ë20¤é¡]¬P´Á¤T¡^13ÂI46¤À

    ·j´M¦r¦ê¬O§_¦³¨§¸¹¡H

    -1 ¥Nªí¨S¦³³o­Ó²Å¸¹¡C­ì¨Ó¦p¦¹¡A¦b¯d¨¥ª©³ºµM¤]¯à¼g¦¨¬O¡A¦Ñ¤Ñ¡C

¡@¡@

¡eª©¤l#4¡f¦Ñª¨¡A¥Á°ê102¦~2¤ë20¤é¡]¬P´Á¤T¡^13ÂI57¤À

¦pªG¥i¥H§ì¥X³r¸¹¤§«eªº¨º¬q¤å¦r¡A¬O¤£¬O¥i¥H¥Î¤§¥H­×§ï¤å¦rºëÆF¡H¦n¶Ë¸£µ¬§r¡I

¡@¡@

¡eª©¤l#5¡f¤Ñ¤l¡A¥Á°ê102¦~2¤ë20¤é¡]¬P´Á¤T¡^14ÂI42¤À

³o­Óºô§}§A¬Ý¬Ý¦³¨S¦³¥Î¡G
http://blog.udn.com/LupinBlog/3114570



Warning: fopen(/home/crazy/www/board/has_read.php): failed to open stream: Permission denied in /home/crazy/www/compose/reading.php on line 2077

Warning: fputs() expects parameter 1 to be resource, bool given in /home/crazy/www/compose/reading.php on line 2079

Warning: fclose() expects parameter 1 to be resource, bool given in /home/crazy/www/compose/reading.php on line 2080
¾\Ū¤å³¹¡q¡yindexof ·j´M¦r¦êªº¦ì¸m¡z¡r ---ÂI¾\¦¸¼Æ 1 ¡I¡Iª`·N¡G³o­Ó³¡¸¨®æ¤å³¹¾\Ū°O¿ýÀɪºÀÉ®×Åv­­µLªk§ó·s¤å³¹¾\Ūªº°O¿ý¡I¡I¡I ¦^«e¥ì­Ó­¶­±¡G¤]¥i¥Hª½±µ®×­Ë°hÁä­ò¡I