rtrim

expect fun rtrim(data: String): String

Removes all whitespace from the right of given string.

Parameters

data

string to check

actual fun rtrim(data: String): String

Removes all whitespace from the right of given string.

Return

copy of string without whitespace at the end

Parameters

data

string to check

actual external fun rtrim(data: String): String

Removes all whitespace from the right of given string.

Return

copy of string without whitespace at the end

Parameters

data

string to check