svnno****@sourc*****
svnno****@sourc*****
2010年 8月 11日 (水) 23:33:26 JST
Revision: 3986 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3986 Author: yutakapon Date: 2010-08-11 23:33:26 +0900 (Wed, 11 Aug 2010) Log Message: ----------- strreplace ã³ãã³ãã追å ããã Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/en/html/macro/command/index.html trunk/doc/en/html/macro/command/strinsert.html trunk/doc/en/html/macro/command/strmatch.html trunk/doc/en/html/macro/command/strremove.html trunk/doc/en/teraterm.hhc trunk/doc/en/teraterm.hhp trunk/doc/ja/html/about/history.html trunk/doc/ja/html/macro/command/index.html trunk/doc/ja/html/macro/command/strinsert.html trunk/doc/ja/html/macro/command/strmatch.html trunk/doc/ja/html/macro/command/strremove.html trunk/doc/ja/teraterm.hhc trunk/doc/ja/teraterm.hhp Added Paths: ----------- trunk/doc/en/html/macro/command/strreplace.html trunk/doc/ja/html/macro/command/strreplace.html -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/en/html/about/history.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -46,6 +46,7 @@ <li>added the "<a href="../macro/command/dispstr.html">dispstr</a>" macro command.</li> <li>added the "<a href="../macro/command/strinsert.html">strinsert</a>" macro command.</li> <li>added the "<a href="../macro/command/strremove.html">strremove</a>" macro command.</li> + <li>added the "<a href="../macro/command/strreplace.html">strreplace</a>" macro command.</li> </ul> </li> Modified: trunk/doc/en/html/macro/command/index.html =================================================================== --- trunk/doc/en/html/macro/command/index.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/en/html/macro/command/index.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -119,6 +119,7 @@ <li><a href="strlen.html">strlen</a> <li><a href="strmatch.html">strmatch</a> (version 4.59 or later) <li><a href="strremove.html">strremove</a> (version 4.67 or later) + <li><a href="strreplace.html">strreplace</a> (version 4.67 or later) <li><a href="strscan.html">strscan</a> <li><a href="tolower.html">tolower</a> (version 4.53 or later) <li><a href="toupper.html">toupper</a> (version 4.53 or later) Modified: trunk/doc/en/html/macro/command/strinsert.html =================================================================== --- trunk/doc/en/html/macro/command/strinsert.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/en/html/macro/command/strinsert.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -57,5 +57,11 @@ messagebox s s </pre> +<h2>Reference</h2> + +<a href="strmatch.html">strmatch</a><br> +<a href="strreplace.html">strreplace</a><br> +<a href="strremove.html">strremove</a><br> + </body> </html> Modified: trunk/doc/en/html/macro/command/strmatch.html =================================================================== --- trunk/doc/en/html/macro/command/strmatch.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/en/html/macro/command/strmatch.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -66,5 +66,11 @@ messagebox groupmatchstr4 'groupmatchstr4' ; 2600 </pre> +<h2>Reference</h2> + +<a href="strreplace.html">strreplace</a><br> +<a href="strinsert.html">strinsert</a><br> +<a href="strremove.html">strremove</a><br> + </body> </html> Modified: trunk/doc/en/html/macro/command/strremove.html =================================================================== --- trunk/doc/en/html/macro/command/strremove.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/en/html/macro/command/strremove.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -65,5 +65,11 @@ messagebox s s </pre> +<h2>Reference</h2> + +<a href="strmatch.html">strmatch</a><br> +<a href="strreplace.html">strreplace</a><br> +<a href="strinsert.html">strinsert</a><br> + </body> </html> Added: trunk/doc/en/html/macro/command/strreplace.html =================================================================== --- trunk/doc/en/html/macro/command/strreplace.html (rev 0) +++ trunk/doc/en/html/macro/command/strreplace.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -0,0 +1,56 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <title>strreplace</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>strreplace</h1> + +<p> +Replaces a string, with another string. +</p> + +<h2>Format</h2> + +<pre class="macro-syntax"> +strreplace <strvar> <index> <oldstr> <newstr> +</pre> + +<h2>Remarks</h2> + +<p> +Replaces a specified <oldstr> string in the string variable <strvar> beginning at a specified position <index>(1-origin), with another specified <newstr> string. +</p> + +<h2>Example</h2> + +<pre class="macro-example"> +src='Microsoft Windows XP [Version 5.1.2600]' +strmatch src '(Version \d+.\d+.)\d+' + +int2str s result +messagebox s groupmatchstr1 +pos=result ; 23 +mstr=groupmatchstr1 ; Version 5.1. + +strreplace src pos mstr 'Build ' +if result=1 then + messagebox src 'result' ; Microsoft Windows XP [Build 2600] +endif +</pre> + +<h2>Reference</h2> + +<a href="strmatch.html">strmatch</a><br> +<a href="strinsert.html">strinsert</a><br> +<a href="strremove.html">strremove</a><br> + +</body> +</html> Modified: trunk/doc/en/teraterm.hhc =================================================================== --- trunk/doc/en/teraterm.hhc 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/en/teraterm.hhc 2010-08-11 14:33:26 UTC (rev 3986) @@ -1046,6 +1046,11 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="strreplace"> + <param name="Local" value="html\macro\command\strreplace.html"> + <param name="ImageNumber" value="11"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="strscan"> <param name="Local" value="html\macro\command\strscan.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/en/teraterm.hhp =================================================================== --- trunk/doc/en/teraterm.hhp 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/en/teraterm.hhp 2010-08-11 14:33:26 UTC (rev 3986) @@ -278,6 +278,7 @@ HlpMacroCommandStrlen=html\macro\command\strlen.html HlpMacroCommandStrmatch=html\macro\command\strmatch.html HlpMacroCommandStrremove=html\macro\command\strremove.html +HlpMacroCommandStrreplace=html\macro\command\strreplace.html HlpMacroCommandStrscan=html\macro\command\strscan.html HlpMacroCommandTestlink=html\macro\command\testlink.html HlpMacroCommandTolower=html\macro\command\tolower.html Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/ja/html/about/history.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -47,6 +47,7 @@ <li>}NR}h "<a href="../macro/command/dispstr.html">dispstr</a>" ðÇÁµ½B</li> <li>}NR}h "<a href="../macro/command/strinsert.html">strinsert</a>" ðÇÁµ½B</li> <li>}NR}h "<a href="../macro/command/strremove.html">strremove</a>" ðÇÁµ½B</li> + <li>}NR}h "<a href="../macro/command/strreplace.html">strreplace</a>" ðÇÁµ½B</li> </ul> </li> Modified: trunk/doc/ja/html/macro/command/index.html =================================================================== --- trunk/doc/ja/html/macro/command/index.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/ja/html/macro/command/index.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -119,6 +119,7 @@ <li><a href="strlen.html">strlen</a> <li><a href="strmatch.html">strmatch</a> (o[W4.59È~) <li><a href="strremove.html">strremove</a> (o[W4.67È~) + <li><a href="strreplace.html">strreplace</a> (o[W4.67È~) <li><a href="strscan.html">strscan</a> <li><a href="tolower.html">tolower</a> (o[W4.53È~) <li><a href="toupper.html">toupper</a> (o[W4.53È~) Modified: trunk/doc/ja/html/macro/command/strinsert.html =================================================================== --- trunk/doc/ja/html/macro/command/strinsert.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/ja/html/macro/command/strinsert.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -57,5 +57,11 @@ messagebox s s </pre> +<h2>QÆ</h2> + +<a href="strmatch.html">strmatch</a><br> +<a href="strreplace.html">strreplace</a><br> +<a href="strremove.html">strremove</a><br> + </body> </html> Modified: trunk/doc/ja/html/macro/command/strmatch.html =================================================================== --- trunk/doc/ja/html/macro/command/strmatch.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/ja/html/macro/command/strmatch.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -63,5 +63,11 @@ messagebox groupmatchstr4 'groupmatchstr4' ; 2600 </pre> +<h2>QÆ</h2> + +<a href="strreplace.html">strreplace</a><br> +<a href="strinsert.html">strinsert</a><br> +<a href="strremove.html">strremove</a><br> + </body> </html> Modified: trunk/doc/ja/html/macro/command/strremove.html =================================================================== --- trunk/doc/ja/html/macro/command/strremove.html 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/ja/html/macro/command/strremove.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -65,5 +65,11 @@ messagebox s s </pre> +<h2>QÆ</h2> + +<a href="strmatch.html">strmatch</a><br> +<a href="strreplace.html">strreplace</a><br> +<a href="strinsert.html">strinsert</a><br> + </body> </html> Added: trunk/doc/ja/html/macro/command/strreplace.html =================================================================== --- trunk/doc/ja/html/macro/command/strreplace.html (rev 0) +++ trunk/doc/ja/html/macro/command/strreplace.html 2010-08-11 14:33:26 UTC (rev 3986) @@ -0,0 +1,56 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> + <title>strreplace</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>strreplace</h1> + +<p> +¶ñðu··éB +</p> + +<h2>`®</h2> + +<pre class="macro-syntax"> +strreplace <strvar> <index> <oldstr> <newstr> +</pre> + +<h2>ðà</h2> + +<p> +¶ñÏ <strvar> Ì <index> Êui1IWj©çA¶ñ <oldstr> ðõµA¶ñ <newstr> Éu«·¦éB +</p> + +<h2>á</h2> + +<pre class="macro-example"> +src='Microsoft Windows XP [Version 5.1.2600]' +strmatch src '(Version \d+.\d+.)\d+' + +int2str s result +messagebox s groupmatchstr1 +pos=result ; 23 +mstr=groupmatchstr1 ; Version 5.1. + +strreplace src pos mstr 'Build ' +if result=1 then + messagebox src 'result' ; Microsoft Windows XP [Build 2600] +endif +</pre> + +<h2>QÆ</h2> + +<a href="strmatch.html">strmatch</a><br> +<a href="strinsert.html">strinsert</a><br> +<a href="strremove.html">strremove</a><br> + +</body> +</html> Modified: trunk/doc/ja/teraterm.hhc =================================================================== --- trunk/doc/ja/teraterm.hhc 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/ja/teraterm.hhc 2010-08-11 14:33:26 UTC (rev 3986) @@ -1054,6 +1054,10 @@ <param name="Local" value="html\macro\command\strremove.html"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="strreplace"> + <param name="Local" value="html\macro\command\strreplace.html"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="strscan"> <param name="Local" value="html\macro\command\strscan.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/ja/teraterm.hhp =================================================================== --- trunk/doc/ja/teraterm.hhp 2010-08-11 14:08:41 UTC (rev 3985) +++ trunk/doc/ja/teraterm.hhp 2010-08-11 14:33:26 UTC (rev 3986) @@ -288,6 +288,7 @@ HlpMacroCommandStrlen=html\macro\command\strlen.html HlpMacroCommandStrmatch=html\macro\command\strmatch.html HlpMacroCommandStrremove=html\macro\command\strremove.html +HlpMacroCommandStrreplace=html\macro\command\strreplace.html HlpMacroCommandStrscan=html\macro\command\strscan.html HlpMacroCommandTestlink=html\macro\command\testlink.html HlpMacroCommandTolower=html\macro\command\tolower.html