[Ttssh2-commit] [3996] strtrim マクロコマンドを追加した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 8月 15日 (日) 01:10:18 JST


Revision: 3996
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3996
Author:   yutakapon
Date:     2010-08-15 01:10:18 +0900 (Sun, 15 Aug 2010)

Log Message:
-----------
strtrim マクロコマンドを追加した。

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/strtrim.html
    trunk/doc/ja/html/macro/command/strtrim.html


-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2010-08-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/en/html/about/history.html	2010-08-14 16:10:18 UTC (rev 3996)
@@ -48,6 +48,7 @@
       <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>
+      <li>added the "<a href="../macro/command/strtrim.html">strtrim</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-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/en/html/macro/command/index.html	2010-08-14 16:10:18 UTC (rev 3996)
@@ -121,6 +121,7 @@
  <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="strtrim.html">strtrim</a> (version 4.67 or later)
  <li><a href="tolower.html">tolower</a> (version 4.53 or later)
  <li><a href="toupper.html">toupper</a> (version 4.53 or later)
 </ul>

Copied: trunk/doc/en/html/macro/command/strtrim.html (from rev 3994, trunk/doc/en/html/macro/command/strinsert.html)
===================================================================
--- trunk/doc/en/html/macro/command/strtrim.html	                        (rev 0)
+++ trunk/doc/en/html/macro/command/strtrim.html	2010-08-14 16:10:18 UTC (rev 3996)
@@ -0,0 +1,62 @@
+<!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>strtrim</title>
+  <meta http-equiv="Content-Style-Type" content="text/css">
+  <link rel="stylesheet" href="../../style.css" type="text/css">
+</head>
+
+<body>
+
+
+<h1>strtrim</h1>
+
+<p>
+Trims characters from beginning and end of string.
+</p>
+
+<h2>Format</h2>
+
+<pre class="macro-syntax">
+strtrim &lt;strvar&gt; &lt;trimchars&gt;
+</pre>
+
+<h2>Remarks</h2>
+
+<p>
+Removes all occurrences of a set of characters specified in the &lt;trimchars&gt; from the beginning end end of the string variable &lt;strvar&gt;.
+</p>
+
+<h2>Example</h2>
+
+<pre class="macro-example">
+src='         #include <stdio.h>         '
+strtrim src ' '
+messagebox src 'result'          ; '#include <stdio.h>'
+
+src='*;|@123***456@|;'
+strtrim src '*;|@'
+messagebox src 'result'          ; '123***456'
+
+src='*;|@123***456@|;'
+strtrim src '*;|@123456'
+messagebox src 'result'          ; ''
+
+src='#*;|@123***456@|;'
+strtrim src '*;|@'
+messagebox src 'result'          ; '#*;|@123***456'
+
+src='*;|@123***456@|;#'
+strtrim src '*;|@'
+messagebox src 'result'          ; '123***456@|;#'
+</pre>
+
+<h2>Reference</h2>
+
+<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-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/en/teraterm.hhc	2010-08-14 16:10:18 UTC (rev 3996)
@@ -1056,6 +1056,11 @@
 					<param name="ImageNumber" value="11">
 					</OBJECT>
 				<LI> <OBJECT type="text/sitemap">
+					<param name="Name" value="strtrim">
+					<param name="Local" value="html\macro\command\strtrim.html">
+					<param name="ImageNumber" value="11">
+					</OBJECT>
+				<LI> <OBJECT type="text/sitemap">
 					<param name="Name" value="tolower">
 					<param name="Local" value="html\macro\command\tolower.html">
 					<param name="ImageNumber" value="11">

Modified: trunk/doc/en/teraterm.hhp
===================================================================
--- trunk/doc/en/teraterm.hhp	2010-08-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/en/teraterm.hhp	2010-08-14 16:10:18 UTC (rev 3996)
@@ -280,6 +280,7 @@
 HlpMacroCommandStrremove=html\macro\command\strremove.html
 HlpMacroCommandStrreplace=html\macro\command\strreplace.html
 HlpMacroCommandStrscan=html\macro\command\strscan.html
+HlpMacroCommandStrtrim=html\macro\command\strtrim.html
 HlpMacroCommandTestlink=html\macro\command\testlink.html
 HlpMacroCommandTolower=html\macro\command\tolower.html
 HlpMacroCommandToupper=html\macro\command\toupper.html

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2010-08-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/ja/html/about/history.html	2010-08-14 16:10:18 UTC (rev 3996)
@@ -49,6 +49,7 @@
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/strinsert.html">strinsert</a>" ‚ð’ljÁ‚µ‚½B</li>
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/strremove.html">strremove</a>" ‚ð’ljÁ‚µ‚½B</li>
       <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>
     </ul>
   </li>
 

Modified: trunk/doc/ja/html/macro/command/index.html
===================================================================
--- trunk/doc/ja/html/macro/command/index.html	2010-08-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/ja/html/macro/command/index.html	2010-08-14 16:10:18 UTC (rev 3996)
@@ -121,6 +121,7 @@
  <li><a href="strremove.html">strremove</a> (ƒo[ƒWƒ‡ƒ“4.67ˆÈ~)
  <li><a href="strreplace.html">strreplace</a> (ƒo[ƒWƒ‡ƒ“4.67ˆÈ~)
  <li><a href="strscan.html">strscan</a>
+ <li><a href="strtrim.html">strtrim</a> (ƒo[ƒWƒ‡ƒ“4.67ˆÈ~)
  <li><a href="tolower.html">tolower</a> (ƒo[ƒWƒ‡ƒ“4.53ˆÈ~)
  <li><a href="toupper.html">toupper</a> (ƒo[ƒWƒ‡ƒ“4.53ˆÈ~)
 </ul>

Copied: trunk/doc/ja/html/macro/command/strtrim.html (from rev 3994, trunk/doc/ja/html/macro/command/strreplace.html)
===================================================================
--- trunk/doc/ja/html/macro/command/strtrim.html	                        (rev 0)
+++ trunk/doc/ja/html/macro/command/strtrim.html	2010-08-14 16:10:18 UTC (rev 3996)
@@ -0,0 +1,62 @@
+<!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>strtrim</title>
+  <meta http-equiv="Content-Style-Type" content="text/css">
+  <link rel="stylesheet" href="../../style.css" type="text/css">
+</head>
+
+<body>
+
+
+<h1>strtrim</h1>
+
+<p>
+‘OŒã‚Ì•¶Žš‚ðíœ‚·‚éB
+</p>
+
+<h2>Œ`Ž®</h2>
+
+<pre class="macro-syntax">
+strtrim &lt;strvar&gt; &lt;trimchars&gt;
+</pre>
+
+<h2>‰ðà</h2>
+
+<p>
+•¶Žš—ñ•Ï” &lt;strvar&gt;‚̐擪‚Æ––”ö‚©‚çA&lt;trimchars&gt; ‚ÅŽw’肳‚ꂽ•¶Žš‚ð‚·‚×‚Äíœ‚·‚éB
+</p>
+
+<h2>—á</h2>
+
+<pre class="macro-example">
+src='         #include <stdio.h>         '
+strtrim src ' '
+messagebox src 'result'          ; '#include <stdio.h>'
+
+src='*;|@123***456@|;'
+strtrim src '*;|@'
+messagebox src 'result'          ; '123***456'
+
+src='*;|@123***456@|;'
+strtrim src '*;|@123456'
+messagebox src 'result'          ; ''
+
+src='#*;|@123***456@|;'
+strtrim src '*;|@'
+messagebox src 'result'          ; '#*;|@123***456'
+
+src='*;|@123***456@|;#'
+strtrim src '*;|@'
+messagebox src 'result'          ; '123***456@|;#'
+</pre>
+
+<h2>ŽQÆ</h2>
+
+<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-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/ja/teraterm.hhc	2010-08-14 16:10:18 UTC (rev 3996)
@@ -1063,6 +1063,10 @@
 					<param name="ImageNumber" value="11">
 					</OBJECT>
 				<LI> <OBJECT type="text/sitemap">
+					<param name="Name" value="strtrim">
+					<param name="Local" value="html\macro\command\strtrim.html">
+					</OBJECT>
+				<LI> <OBJECT type="text/sitemap">
 					<param name="Name" value="tolower">
 					<param name="Local" value="html\macro\command\tolower.html">
 					<param name="ImageNumber" value="11">

Modified: trunk/doc/ja/teraterm.hhp
===================================================================
--- trunk/doc/ja/teraterm.hhp	2010-08-14 15:41:57 UTC (rev 3995)
+++ trunk/doc/ja/teraterm.hhp	2010-08-14 16:10:18 UTC (rev 3996)
@@ -290,6 +290,7 @@
 HlpMacroCommandStrremove=html\macro\command\strremove.html
 HlpMacroCommandStrreplace=html\macro\command\strreplace.html
 HlpMacroCommandStrscan=html\macro\command\strscan.html
+HlpMacroCommandStrtrim=html\macro\command\strtrim.html
 HlpMacroCommandTestlink=html\macro\command\testlink.html
 HlpMacroCommandTolower=html\macro\command\tolower.html
 HlpMacroCommandToupper=html\macro\command\toupper.html



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