std.txt.strip_crlf

std.txt

strip_crlf(value) -> stripped

Strip trailing CRLF from a string

Removes a trailing carriage return and/or line feed from the end of the string. Returns nil if input is not a string.