<init>()
Constructs an empty string builder.
<init>(capacity: Int)
Constructs an empty string builder with the specified initial capacity.
Constructs an empty string builder with the specified initial capacity.
In Kotlin/JS implementation of StringBuilder the initial capacity has no effect on the further performance of operations.
<init>(content: CharSequence)
Constructs a string builder that contains the same characters as the specified content char sequence.
<init>(content: String)
Constructs a string builder that contains the same characters as the specified content string.
A mutable sequence of characters.
String builder can be used to efficiently perform multiple string manipulation operations.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-string-builder/-init-.html