[Ttssh2-commit] [4016] strjoin の追加。

Back to archive index

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 &lt;strvar&gt; &lt;separator&gt; &lt;count&gt; [&lt;special&gt;]
+</pre>
+
+<h2>Remarks</h2>
+
+<p>
+Concatenates a specified separator string variable &lt;strvar&gt; between each element of the 9 system variables from "groupmatchstr1" to "groupmatchstr9", yielding a single concatenated string.
+</p>
+
+<!--p>
+&lt;separator&gt; ‚É‚Í‹æØ‚è‹L†‚Æ‚µ‚Ĉµ‚¤•¶Žš‚ð1•¶Žš‚¾‚¯Žw’è‚·‚éB
+</p-->
+
+<p>
+The &lt;count&gt; is specified the maximum number of substrings to return.<br>
+If a number of substrings is larger than &lt;count&gt;, the remaining groupmatchstr variables stores NULL.
+</p>
+
+<p>
+If &lt;special&gt; is non-zero, following strings in &lt;message&gt; is treated as spacial character.<br>
+If &lt;special&gt; 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>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/strreplace.html">strreplace</a>" ‚ð’ljÁ‚µ‚½B</li>
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/strtrim.html">strtrim</a>" ‚ð’ljÁ‚µ‚½B</li>
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/strsplit.html">strsplit</a>" ‚ð’ljÁ‚µ‚½B</li>
+      <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/strjoin.html">strjoin</a>" ‚ð’ljÁ‚µ‚½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[ƒWƒ‡ƒ“4.67ˆÈ~)
+ <li><a href="strjoin.html">strjoin</a> (ƒo[ƒWƒ‡ƒ“4.67ˆÈ~)
  <li><a href="strlen.html">strlen</a>
  <li><a href="strmatch.html">strmatch</a> (ƒo[ƒWƒ‡ƒ“4.59ˆÈ~)
  <li><a href="strremove.html">strremove</a> (ƒo[ƒWƒ‡ƒ“4.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 &lt;strvar&gt; &lt;separator&gt; &lt;count&gt; [&lt;special&gt;]
+</pre>
+
+<h2>‰ðà</h2>
+
+<p>
+groupmatchstr1`groupmatchstr9 ‚ð‹æØ‚è‹L† &lt;separator&gt; ‚ŘAŒ‹‚µA•¶Žš—ñ•Ï” &lt;strvar&gt; ‚ÉŠi”[‚·‚éB
+</p>
+
+<p>
+&lt;separator&gt; ‚É‚Í‹æØ‚è‹L†‚Æ‚µ‚Ĉµ‚¤•¶Žš‚ð1•¶Žš‚¾‚¯Žw’è‚·‚éB
+</p>
+
+<p>
+&lt;count&gt; ‚ɂ́A˜AŒ‹‚·‚é•”•ª•¶Žš—ñ‚̍ő吔i9ˆÈ‰ºj‚ðŽw’è‚·‚éB <br>
+•¶Žš—ñ’†‚Ì•”•ª•¶Žš—ñ‚̐”‚ª &lt;count&gt; ˆÈã‚Å‚ ‚é‚Æ‚«A•”•ª•¶Žš—ñ‚ª‘ã“ü‚³‚ê‚È‚©‚Á‚½groupmatchstr‚ɂ́ANULL‚ª‘ã“ü‚³‚ê‚éB
+</p>
+
+<p>
+&lt;special&gt; ‚ª 1 ‚̏ꍇ‚́A&lt;separator&gt; ‚ÉŠÜ‚Ü‚ê‚éˆÈ‰º‚Ì•¶Žš—ñ‚Í“ÁŽê•¶Žš‚Æ‚µ‚Ĉµ‚í‚ê‚éB<br>
+&lt;special&gt; ‚ªŽw’肳‚ê‚È‚¢ê‡‚Í 1 ‚ªŽg—p‚³‚ê‚é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



Ttssh2-commit メーリングリストの案内
Back to archive index