填充行

在每行開头或末尾添加指定數量的填充字元,不是把行补到固定總長度。

輸入: 文本結果: 文本

文本輸入

工具選項

範例

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
api

Expected answer

............api
............worker
............web
............api
位置
Start
長度
12
字元
.
A release queue

輸入

v3
v1
v2
v1

Expected answer

............v3
............v1
............v2
............v1
位置
Start
長度
12
字元
.
Case-sensitive usernames

輸入

Alice
alice
Bob
Alice

Expected answer

............Alice
............alice
............Bob
............Alice
位置
Start
長度
12
字元
.
A short status feed

輸入

ready
busy
ready
done

Expected answer

............ready
............busy
............ready
............done
位置
Start
長度
12
字元
.
Two-word labels

輸入

first step
second step
first step

Expected answer

............first step
............second step
............first step
位置
Start
長度
12
字元
.

参數

参數默認值輸入與選項
位置起始位置起始位置, End
長度5數字
字元" "支持 \n、\r 和 \t 等跳脫序列

相关工具

實用工具

操作参考

查看原始技术文檔 (English)