VBScript Space 関数
定義と使用法
Space 関数は指定された数のスペースで構成される文字列を返します。
構文
Space(number)
引数 | 説明 |
---|---|
number | 必要な。文字列のスペースの数。 |
例
例 1
dim txt txt=Space(10) document.write(txt)
出力:
" "
Space 関数は指定された数のスペースで構成される文字列を返します。
Space(number)
引数 | 説明 |
---|---|
number | 必要な。文字列のスペースの数。 |
dim txt txt=Space(10) document.write(txt)
出力:
" "