範例
Add exactly twelve leading dots to each line. The length parameter counts added characters; it is not the target line width.
Service names
輸入
api
worker
web
apiExpected answer
............api
............worker
............web
............api- 位置
Start- 長度
12- 字元
.
A release queue
輸入
v3
v1
v2
v1Expected answer
............v3
............v1
............v2
............v1- 位置
Start- 長度
12- 字元
.
Case-sensitive usernames
輸入
Alice
alice
Bob
AliceExpected answer
............Alice
............alice
............Bob
............Alice- 位置
Start- 長度
12- 字元
.
A short status feed
輸入
ready
busy
ready
doneExpected answer
............ready
............busy
............ready
............done- 位置
Start- 長度
12- 字元
.
Two-word labels
輸入
first step
second step
first stepExpected answer
............first step
............second step
............first step- 位置
Start- 長度
12- 字元
.
参數
| 参數 | 默認值 | 輸入與選項 |
|---|---|---|
| 位置 | 起始位置 | 起始位置, End |
| 長度 | 5 | 數字 |
| 字元 | " " | 支持 \n、\r 和 \t 等跳脫序列 |