| REPEATSTRING | |
| 説明
指定の文字列を指定回数だけ繰り返して文字列を作成します。 |
|
| 戻り値
文字列 |
|
| カテゴリ
文字列関数 |
|
関数のシンタックスRepeatString(string, count) |
|
| 関連項目
CJustify、LJustify、RJustify |
|
| パラメータ
|
|
例<h3>RepeatString の例</h3>
<p>RepeatString は、<I>string</I> を指定回数だけ繰り返して作成した文字列を返します。
<ul>
<li>RepeatString("-", 10):<cfoutput>#RepeatString("-", 10)#</cfoutput>
<li>RepeatString("<BR>", 3):<cfoutput>#RepeatString("<br>", 3)#
</cfoutput>
<li>RepeatString("", 5):<cfoutput>#RepeatString("", 5)#</cfoutput>
<li>RepeatString("abc", 0):<cfoutput>#RepeatString("abc", 0)#</cfoutput>
<li>RepeatString("Lorem Ipsum", 2):
<cfoutput>#RepeatString("Lorem Ipsum", 2)#</cfoutput>
</ul>
|
|
| STRING | |
| 文字列、または文字列を含んでいる変数です。 | |
| COUNT | |
| 繰り返す回数です。 | |