How do you print duplicate characters from a string?

Printable View