</head> <body> <h1>StringLen</h1> <p>문자열에 들은 문자의 갯수를 열람합니다.</p> <p class="warning"><strong>비추천:</strong> 이 명령어는 새 스크립트에 사용을 추천하지 않습니다. 대신 <a href="StrLen.htm">StrLen</a> 기능을 사용하십시오.</p> <pre class="Syntax"><span class="func">StringLen</span>, OutputVar, InputVar</pre> <h2 id="Parameters">매개변수</h2> <dl> <dt>OutputVar</dt> <dd>The name of the output variable in which to store the length.</dd> <dt>InputVar</dt> <dd>The name of the input variable whose contents will be measured. 이름을 퍼센트 사인으로 둘러 싸지 마십시오. 변수의 <em>내용</em>을 이름으로 사용하고 싶다면 예외입니다.</dd> </dl> <h2 id="Remarks">논평</h2> <p>If <var>InputVar</var> is a variable to which <a href="../misc/Clipboard.htm#ClipboardAll">ClipboardAll</a> was previously assigned, StringLen will retrieve its total size.</p> <h2 id="Related">관련 항목</h2> <p><a href="StrLen.htm">StrLen()</a>, <a href="IfInString.htm">IfInString</a>, <a href="StringGetPos.htm">StringGetPos</a>, <a href="StringMid.htm">StringMid</a>, <a href="StringTrimLeft.htm">StringTrimLeft</a>, <a href="StringTrimLeft.htm">StringTrimRight</a>, <a href="StringLeft.htm">StringLeft</a>, <a href="StringLeft.htm">StringRight</a>, <a href="StringLower.htm">StringLower</a>, <a href="StringLower.htm">StringUpper</a>, <a href="StringReplace.htm">StringReplace</a></p> <h2 id="Examples">예제</h2> <div class="ex" id="ExBasic"> <p><a class="ex_number" href="#ExBasic"></a> Retrieves and reports the count of how many characters are in a string.</p> <pre>StrValue := "The quick brown fox jumps over the lazy dog" StringLen, Length, StrValue MsgBox, The length of the string is %Length%.</pre> </div> </body> </html>