trim_end
Trims whitespace from the end of a string.
trim_end(x:string) -> string
Description
Section titled “Description”The trim_end
function removes trailing whitespace from x
.
Examples
Section titled “Examples”Trim whitespace from the end
Section titled “Trim whitespace from the end”from {x: "hello ".trim_end()}
{x: "hello"}