# How to print a row of points (or any other character) in plain TeX?

I need something like the following

.....................................................................................................................................................................

and something like

(a word)........................................................................................................................................(a word)

How can I do them?

-

Plain TeX provides \dotfill in case of the period. \leaders and friends can be used for other characters or arbitrary stuff:

A\dotfill B

\bye

Remarks:

• \null or something that is not a glue prevents that TeX removes the latest horizontal glue at the end of the paragraph.