mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
10 lines
202 B
Kotlin
10 lines
202 B
Kotlin
package com.simplemobiletools.contacts.overloads
|
|
|
|
operator fun String.times(x: Int): String {
|
|
val sb = StringBuilder()
|
|
for (i in 1..x) {
|
|
sb.append(this)
|
|
}
|
|
return sb.toString()
|
|
}
|