Which of the following methods is used to repeat a string a specified number of times?
replicate()
repeat()
iterate()
duplicate()