trim

Remove trailing zero bytes from a string
     str - input string
Returns: trimmed string
Thread-safe function.

string trim(string str);

Last updated