trim

expect fun trim(data: String): String

Removes all trailing whitespace.

Return

copy of string with removed trailing whitespace.

Parameters

data
actual fun trim(data: String): String

Removes all trailing whitespace.

Return

copy of string with removed trailing whitespace

Parameters

data
actual external fun trim(data: String): String

Removes all trailing whitespace.

Return

copy of string with removed trailing whitespace

Parameters

data