書式文字列を使う
作者: 小見 拓
—
最終変更
2009年12月06日 06時42分
書式文字列を使う
:echo printf("this is %s and %s", "AAA", "BBB")
"# => this is AAA and BBB
:echo printf("No. %04d", "5")
"# => No. 0005

ブックマーク
