| 43 | } |
| 44 | |
| 45 | bool isStringPresent(std::string searched, std::string keyword) |
| 46 | { |
| 47 | std::transform(searched.begin(), searched.end(), searched.begin(), tolower); |
| 48 | std::transform(keyword.begin(), keyword.end(), keyword.begin(), tolower); |
| 49 | |
| 50 | auto found_it = searched.find(keyword, 0); |
| 51 | return found_it != std::string::npos; |
| 52 | } |
| 53 | |
| 54 | #include "logger.h" |
| 55 | #include "satdump_vars.h" |
no test coverage detected