MtrimEnd
Bun

method

ffi.CString.trimEnd

trimEnd(): string;

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