StringBuilder

expect constructor()(source)

Constructs an empty string builder.


expect constructor(capacity: Int)(source)

Constructs an empty string builder with the specified initial capacity.


expect constructor(content: CharSequence)(source)

Constructs a string builder that contains the same characters as the specified content char sequence.


expect constructor(content: String)(source)

Constructs a string builder that contains the same characters as the specified content string.

actual constructor()(source)

Constructs an empty string builder.


actual constructor(capacity: Int)(source)

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.


actual constructor(content: CharSequence)(source)

Constructs a string builder that contains the same characters as the specified content char sequence.


actual constructor(content: String)(source)
actual constructor()(source)

Constructs an empty string builder.


actual constructor(capacity: Int)(source)

Constructs an empty string builder with the specified initial capacity.


actual constructor(content: CharSequence)(source)

Constructs a string builder that contains the same characters as the specified content char sequence.


actual constructor(content: String)(source)

Constructs a string builder that contains the same characters as the specified content string.

actual constructor()(source)

Constructs an empty string builder.


actual constructor(capacity: Int)(source)

Constructs an empty string builder with the specified initial capacity.


actual constructor(content: CharSequence)(source)

Constructs a string builder that contains the same characters as the specified content char sequence.


actual constructor(content: String)(source)

Constructs a string builder that contains the same characters as the specified content string.

actual constructor()(source)

Constructs an empty string builder.


actual constructor(capacity: Int)(source)

Constructs an empty string builder with the specified initial capacity.


actual constructor(content: CharSequence)(source)

Constructs a string builder that contains the same characters as the specified content char sequence.


actual constructor(content: String)(source)

Constructs a string builder that contains the same characters as the specified content string.