| 465 | |
| 466 | |
| 467 | String StringUtil::stripShell(const std::string& str) { |
| 468 | String out; |
| 469 | |
| 470 | for (const auto& c : str) { |
| 471 | if (isAlphanumeric(c) || c == '_' || c == '-' || c == '.') { |
| 472 | out += c; |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | return out; |
| 477 | } |
| 478 | |
| 479 | } // namespace clip |
nothing calls this directly
no outgoing calls
no test coverage detected