repeat()
← Back to Module string
Repeat a string
repeat(s, times)
s
times
string
repeat("ha", 5) ' Returns "hahahahaha"
Documentation version: 1.0.16. Updated on: 14 July 2025.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2025. All rights reserved.