| 170 | } |
| 171 | |
| 172 | void strip_nonbasic(rdcstr &str) |
| 173 | { |
| 174 | for(char &c : str) |
| 175 | { |
| 176 | if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '.' || |
| 177 | c == ' ') |
| 178 | continue; |
| 179 | |
| 180 | c = '_'; |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | void split(const rdcstr &in, rdcarray<rdcstr> &out, const char sep) |
| 185 | { |
no outgoing calls
no test coverage detected