comment-padleft

comment-padleft is a compiled Lisp function in `newcomment.el'.

(comment-padleft STR &optional N)

Construct a string composed of `comment-padding' plus STR.
It also adds N copies of the first non-whitespace chars of STR.
If STR already contains padding, the corresponding amount is
ignored from `comment-padding'.
N defaults to 0.
If N is `re', a regexp is returned instead, that would match
the string for any N.