Pad lines

Add the specified number of the specified character to the beginning or end of each line

Input: TextResult: Text

Text input

Tool options

Examples

Add exactly twelve leading dots to each line. The length parameter counts added characters; it is not the target line width.

Service names

Input

api
worker
web
api

Expected answer

............api
............worker
............web
............api
Position
Start
Length
12
Character
.
A release queue

Input

v3
v1
v2
v1

Expected answer

............v3
............v1
............v2
............v1
Position
Start
Length
12
Character
.
Case-sensitive usernames

Input

Alice
alice
Bob
Alice

Expected answer

............Alice
............alice
............Bob
............Alice
Position
Start
Length
12
Character
.
A short status feed

Input

ready
busy
ready
done

Expected answer

............ready
............busy
............ready
............done
Position
Start
Length
12
Character
.
Two-word labels

Input

first step
second step
first step

Expected answer

............first step
............second step
............first step
Position
Start
Length
12
Character
.

Parameters

ParameterDefault valueInput and choices
PositionStartStart, End
Length5Number
Character" "Escape sequences such as \n, \r and \t are supported

Related tools

Browse utils tools