trimEnd

Bun

Symbol

CString.trimEnd

trimEnd(): string

Removes the trailing white space and line terminator characters from a string.