Repeats a string by the provided number, with an optional separator.
Repeating "abc" 5 times.
Repeating "hello world" 3 times, with the separator " " (space).