Remove trailing \\r and \\n, if present. \param sb string handle \return 0 on error, 1 on success
See Implementation
Remove trailing \\r and \\n, if present. \param sb string handle \return 0 on error, 1 on success