I know .
operator concatenate strings.
But how to repeat a string N times, similar to "abc" * 3
in python?
To repeat a string you want to use the (appropriately named) function repeat()
The doc is here :h repeat()
And you can use it like that:
let foo = repeat("abc", 3)
:help function-list
is a very useful page when VimScripting.