makeNstr

0th

Percentile

creates a string that is a repeat of a substring

Takes a character and creates a string that is the character repeated len times.

Keywords
character , manip
Usage
makeNstr(char, len)
Arguments
char

character to be repeated

len

number of times to repeat char.

Value

A string that is char repeated len times.

See Also

paste, rep

Aliases
  • makeNstr
Examples
# NOT RUN {
makeNstr(" ", 5)

# }
Documentation reproduced from package Hmisc, version 4.0-3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.