Skip to content

String

1 min read

No import is needed.

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

clone

Returns a fresh copy of s that can be changed independently.

public static extern fun clone(borrow s: string): string