![]() |
Internet Explorer | Netscape Navigator | iCab | Safari | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3.0x | 4.0x | 4.5 | 5.0x | 5.5 | 6.0 | 2.0x | 3.0x | 4.0x | 4.x | 6.0 | 7.0 | 2.x | 1.x | |
Windows | �� | �� | - | �� | �� | �� | �� | �� | �� | �� | �� | �� | - | - |
Macintosh | �� | �� | �� | �� | - | - | �� | �� | �� | �� | �� | �� | �� | �� |
UNIX | - | - | - | - | - | - | �� | �� | �� | �� | �� | �� | - | - |
�|�C���g | if (c == str) { result += n; cnt++; if (cnt == 2) { cnt = 0; n++; } } |
---|---|
���@�@�� | �w��̕����̌�ɐ��l��t�������Ԋu�Ő��l�𑝂₷�ɂ�charAt���g���ĕ��������J��Ԃ��������s���܂��B�Y�����镶��������ꍇ�ɂ́A���l����Ƃ��ĕt�����܂��B�P���łȂ��Q�P�ʂŕϊ�����ꍇ�ɂ̓J�E���^��p�ӂ��J�E���g�����Z���Ă����܂��B�J�E���g�l���Q�ɂȂ����猳�ɖ߂����l���P���₵�܂��B ���̃v���O�����ł͈ȉ��̂悤�ɕ����u������܂��B ABC@@DE@FG@H@ �� ABC@1@1DE@2FG@2H@3 |
�T���v�� | <html> <head> <title>�w��̕����̌�ɐ��l��t�������Ԋu�Ő��l�𑝂₷</title> <script language="JavaScript"><!-- function convert() { n = 1; cnt = 0; str = "@"; result = ""; txt = document.myForm.Src.value; for (i=0; i<txt.length; i++) { c = txt.charAt(i); result += c; if (c == str) { result += n; cnt++; if (cnt == 2) { cnt = 0; n++; } } } document.myForm.Dst.value = result; } // --></script> </head> <body> <form name="myForm"> <input type="button" value="�ϊ�" onClick="convert()"><br> <textarea cols="40" rows="20" name="Src">�ϊ����e�L�X�g</textarea><br> <textarea cols="40" rows="20" name="Dst">�ϊ���̃e�L�X�g������܂�</textarea><br> </form> </body> </html> |
�⑫���� | �Ȃ� |
���T���v���X�N���v�g�����s����@>>���s ���e�u���E�U�ł̓��쌋�ʂ�����@>>View! |