---------------------------------------------------------------------- RemoveNullsInString Removes any internal \0 characters from the string. ----------------------------------------------------------------------
| 380 | // Removes any internal \0 characters from the string. |
| 381 | // ---------------------------------------------------------------------- |
| 382 | void RemoveNullsInString(string* s) { |
| 383 | s->erase(remove(s->begin(), s->end(), '\0'), s->end()); |
| 384 | } |