refactor(strhelpers): extract shared strReplaceAll helper (#7711)

Co-authored-by: philmoz <philmoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Peter Feerick
2026-08-27 09:39:10 +10:00
committed by GitHub
co-authored by philmoz Claude Sonnet 5
parent 2b9b8fd479
commit 8347285abe
9 changed files with 95 additions and 52 deletions
+4
View File
@@ -208,6 +208,10 @@ std::string getTelemTime(TelemetryItem &telemetryItem);
int countDigits(int number);
// Replace all occurrences of 'from' with 'to' in 'str', in place.
void strReplaceAll(std::string &str, const std::string &from,
const std::string &to);
// Timezone handling
extern int8_t minTimezone();
extern int8_t maxTimezone();