Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. void Json::ClearEscape(std::string &st)
  2. {
  3. size_t i = 0;
  4. while (i < st.length())
  5. {
  6. if (std::isspace(st[i]) || st[i] == '\t')
  7. {
  8. st.erase(i, 1);
  9. }
  10. else
  11. {
  12. i++;
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement