Home   Manual   Type Index   Symbol Index   Topics Index

std::dup

creates a string containing n copies of the specified string

Parameters

self

the string to duplicate

n

the duplication count

Description

The function aims to duplicate the specified string in a smart way.

See also

std::spaces   returns that many spaces

Topics

Strings