HomeManualTopicsTypesSymbols

std_types::generic_list/std::dup

creates a list containing *n* copies of the specified list

Parameters

self
the string to duplicate
n
the duplication count

Results

None

Description

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

Topic

Strings

Implements

std::dup creates a concatenation of *n* copies of the specified collection

See also

std::spaces returns the specified number of spaces