Concentrate newlines or spaces in a string

add_newlines(n)

add_spaces(n)

Arguments

n

Scalar indicating how many characters should be concentrated

Value

A string.