Checks if character is whitespace (space, tab, newline or other non-printable char). Does not take locale into account.
| 47 | // Checks if character is whitespace (space, tab, newline or other |
| 48 | // non-printable char). Does not take locale into account. |
| 49 | inline bool IsSpace(unsigned char c) |
| 50 | { |
| 51 | return c <= ' '; |
| 52 | } |
| 53 | |
| 54 | // Return the lower case string. |
| 55 | inline std::string Lower(std::string str) |
no outgoing calls
no test coverage detected