repeat_symbol: Repeat sequence of symbols.

View source: R/repeat_symbol.R

repeat_symbolR Documentation

Repeat sequence of symbols.

Description

Repeat sequence of symbols.

Usage

repeat_symbol(text, length.out)

repeat_symbol_2(text = " ", times)

Arguments

text

(character) The symbol (or sequence of symbols) to be repeated until desired length is achieved.

length.out

(integer) The total length (in characters) of the sequence.

times

(integer) Times to repeat the sequence.

Value

Sting of defined length.

Examples


repeat_symbol(".", 10)

repeat_symbol("..+", 10)

GegznaV/addin.tools documentation built on Aug. 24, 2023, 5:35 p.m.