svnno****@sourc*****
svnno****@sourc*****
2010年 8月 19日 (木) 01:17:54 JST
Revision: 4016 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4016 Author: yutakapon Date: 2010-08-19 01:17:54 +0900 (Thu, 19 Aug 2010) Log Message: ----------- strjoin ã®è¿½å ã http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=22781#comment:1412:22781:1282146205 Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/en/html/macro/command/index.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/teraterm.hhc trunk/doc/ja/teraterm.hhp Added Paths: ----------- trunk/doc/en/html/macro/command/strjoin.html trunk/doc/ja/html/macro/command/strjoin.html -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2010-08-18 16:06:16 UTC (rev 4015) +++ trunk/doc/en/html/about/history.html 2010-08-18 16:17:54 UTC (rev 4016) @@ -50,6 +50,7 @@ <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> <li>added the "<a href="../macro/command/strtrim.html">strtrim</a>" macro command.</li> + <li>added the "<a href="../macro/command/strjoin.html">strjoin</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-18 16:06:16 UTC (rev 4015) +++ trunk/doc/en/html/macro/command/index.html 2010-08-18 16:17:54 UTC (rev 4016) @@ -116,6 +116,7 @@ <li><a href="strconcat.html">strconcat</a> <li><a href="strcopy.html">strcopy</a> <li><a href="strinsert.html">strinsert</a> (version 4.67 or later) + <li><a href="strjoin.html">strjoin</a> (version 4.67 or later) <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) Copied: trunk/doc/en/html/macro/command/strjoin.html (from rev 4013, trunk/doc/en/html/macro/command/strsplit.html) =================================================================== --- trunk/doc/en/html/macro/command/strjoin.html (rev 0) +++ trunk/doc/en/html/macro/command/strjoin.html 2010-08-18 16:17:54 UTC (rev 4016) @@ -0,0 +1,90 @@ +<!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>strjoin</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>strjoin</h1> + +<p> +Concatenates a string with delimiters. +</p> + +<h2>Format</h2> + +<pre class="macro-syntax"> +strjoin <strvar> <separator> <count> [<special>] +</pre> + +<h2>Remarks</h2> + +<p> +Concatenates a specified separator string variable <strvar> between each element of the 9 system variables from "groupmatchstr1" to "groupmatchstr9", yielding a single concatenated string. +</p> + +<!--p> +<separator> ÉÍæØèLƵĵ¤¶ð1¶¾¯wè·éB +</p--> + +<p> +The <count> is specified the maximum number of substrings to return.<br> +If a number of substrings is larger than <count>, the remaining groupmatchstr variables stores NULL. +</p> + +<p> +If <special> is non-zero, following strings in <message> is treated as spacial character.<br> +If <special> is not specified then 1 is used. +</p> + +<table> + <tr> + <th>input</th> + <th>output</th> + </tr> + <tr> + <td>\\</td> + <td>"\"</td> + </tr> + <tr> + <td>\n</td> + <td>line feed</td> + </tr> + <tr> + <td>\t</td> + <td>tab</td> + </tr> +</table> + +<h2>Example</h2> + +<pre class="macro-example"> +groupmatchstr1="Jan" +groupmatchstr2="Feb" +groupmatchstr3="Mar" +groupmatchstr4="Apr" +groupmatchstr5="May" +groupmatchstr6="Jun" +strjoin strvar "," 6 +messagebox strvar "strvar" ; 'Jan,Feb,Mar,Apr,May,Jun' + +groupmatchstr1="Jan" +groupmatchstr2="Feb" +groupmatchstr3="Mar" +groupmatchstr4="Apr" +groupmatchstr5="May" +groupmatchstr6="Jun" +strjoin strvar "," 9 +messagebox strvar "strvar" ; 'Jan,Feb,Mar,Apr,May,Jun,,,' +</pre> + +<h2>Reference</h2> + +</body> +</html> Modified: trunk/doc/en/teraterm.hhc =================================================================== --- trunk/doc/en/teraterm.hhc 2010-08-18 16:06:16 UTC (rev 4015) +++ trunk/doc/en/teraterm.hhc 2010-08-18 16:17:54 UTC (rev 4016) @@ -1031,6 +1031,11 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="strjoin"> + <param name="Local" value="html\macro\command\strjoin.html"> + <param name="ImageNumber" value="11"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="strlen"> <param name="Local" value="html\macro\command\strlen.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/en/teraterm.hhp =================================================================== --- trunk/doc/en/teraterm.hhp 2010-08-18 16:06:16 UTC (rev 4015) +++ trunk/doc/en/teraterm.hhp 2010-08-18 16:17:54 UTC (rev 4016) @@ -275,6 +275,7 @@ HlpMacroCommandStrconcat=html\macro\command\strconcat.html HlpMacroCommandStrcopy=html\macro\command\strcopy.html HlpMacroCommandStrinert=html\macro\command\strinsert.html +HlpMacroCommandStrjoin=html\macro\command\strjoin.html HlpMacroCommandStrlen=html\macro\command\strlen.html HlpMacroCommandStrmatch=html\macro\command\strmatch.html HlpMacroCommandStrremove=html\macro\command\strremove.html Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2010-08-18 16:06:16 UTC (rev 4015) +++ trunk/doc/ja/html/about/history.html 2010-08-18 16:17:54 UTC (rev 4016) @@ -52,6 +52,7 @@ <li>}NR}h "<a href="../macro/command/strreplace.html">strreplace</a>" ðÇÁµ½B</li> <li>}NR}h "<a href="../macro/command/strtrim.html">strtrim</a>" ðÇÁµ½B</li> <li>}NR}h "<a href="../macro/command/strsplit.html">strsplit</a>" ðÇÁµ½B</li> + <li>}NR}h "<a href="../macro/command/strjoin.html">strjoin</a>" ðÇÁµ½B</li> </ul> </li> Modified: trunk/doc/ja/html/macro/command/index.html =================================================================== --- trunk/doc/ja/html/macro/command/index.html 2010-08-18 16:06:16 UTC (rev 4015) +++ trunk/doc/ja/html/macro/command/index.html 2010-08-18 16:17:54 UTC (rev 4016) @@ -116,6 +116,7 @@ <li><a href="strconcat.html">strconcat</a> <li><a href="strcopy.html">strcopy</a> <li><a href="strinsert.html">strinsert</a> (o[W4.67È~) + <li><a href="strjoin.html">strjoin</a> (o[W4.67È~) <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È~) Copied: trunk/doc/ja/html/macro/command/strjoin.html (from rev 4013, trunk/doc/ja/html/macro/command/strsplit.html) =================================================================== --- trunk/doc/ja/html/macro/command/strjoin.html (rev 0) +++ trunk/doc/ja/html/macro/command/strjoin.html 2010-08-18 16:17:54 UTC (rev 4016) @@ -0,0 +1,90 @@ +<!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>strjoin</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>strjoin</h1> + +<p> +¶ðA·éB +</p> + +<h2>`®</h2> + +<pre class="macro-syntax"> +strjoin <strvar> <separator> <count> [<special>] +</pre> + +<h2>ðà</h2> + +<p> +groupmatchstr1`groupmatchstr9 ðæØèL <separator> ÅAµA¶ñÏ <strvar> Éi[·éB +</p> + +<p> +<separator> ÉÍæØèLƵĵ¤¶ð1¶¾¯wè·éB +</p> + +<p> +<count> ÉÍAA·éª¶ñÌÅåi9Ⱥjðwè·éB <br> +¶ñ̪¶ñ̪ <count> ÈãÅ éÆ«Aª¶ñªãü³êÈ©Á½groupmatchstrÉÍANULLªãü³êéB +</p> + +<p> +<special> ª 1 ÌêÍA<separator> ÉÜÜêéȺ̶ñÍÁê¶ÆµÄµíêéB<br> +<special> ªwè³êÈ¢êÍ 1 ªgp³êéB +</p> + +<table> + <tr> + <th>üÍ</th> + <th>oÍ</th> + </tr> + <tr> + <td>\\</td> + <td>"\"</td> + </tr> + <tr> + <td>\n</td> + <td>üs</td> + </tr> + <tr> + <td>\t</td> + <td>^u</td> + </tr> +</table> + +<h2>á</h2> + +<pre class="macro-example"> +groupmatchstr1="Jan" +groupmatchstr2="Feb" +groupmatchstr3="Mar" +groupmatchstr4="Apr" +groupmatchstr5="May" +groupmatchstr6="Jun" +strjoin strvar "," 6 +messagebox strvar "strvar" ; 'Jan,Feb,Mar,Apr,May,Jun' + +groupmatchstr1="Jan" +groupmatchstr2="Feb" +groupmatchstr3="Mar" +groupmatchstr4="Apr" +groupmatchstr5="May" +groupmatchstr6="Jun" +strjoin strvar "," 9 +messagebox strvar "strvar" ; 'Jan,Feb,Mar,Apr,May,Jun,,,' +</pre> + +<h2>QÆ</h2> + +</body> +</html> Modified: trunk/doc/ja/teraterm.hhc =================================================================== --- trunk/doc/ja/teraterm.hhc 2010-08-18 16:06:16 UTC (rev 4015) +++ trunk/doc/ja/teraterm.hhc 2010-08-18 16:17:54 UTC (rev 4016) @@ -1040,6 +1040,10 @@ <param name="Local" value="html\macro\command\strinsert.html"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="strjoin"> + <param name="Local" value="html\macro\command\strjoin.html"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="strlen"> <param name="Local" value="html\macro\command\strlen.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/ja/teraterm.hhp =================================================================== --- trunk/doc/ja/teraterm.hhp 2010-08-18 16:06:16 UTC (rev 4015) +++ trunk/doc/ja/teraterm.hhp 2010-08-18 16:17:54 UTC (rev 4016) @@ -285,6 +285,7 @@ HlpMacroCommandStrconcat=html\macro\command\strconcat.html HlpMacroCommandStrcopy=html\macro\command\strcopy.html HlpMacroCommandStrinert=html\macro\command\strinsert.html +HlpMacroCommandStrjoin=html\macro\command\strjoin.html HlpMacroCommandStrlen=html\macro\command\strlen.html HlpMacroCommandStrmatch=html\macro\command\strmatch.html HlpMacroCommandStrremove=html\macro\command\strremove.html