String.trim_end

String.trim_end

String.trim_end

Function

Remove whitespace characters at the end of a string.

Syntax

Parameters

None.

Return value

TypeDescription
StringNew string with trailing whitespace removed.

Code Example

Notes

  • The original string is not modified.