hyprutils/include/hyprutils/string/String.hpp
2025-02-02 18:48:52 +05:00

10 lines
360 B
C++

#pragma once
#include <string>
//NOLINTNEXTLINE
namespace Hyprutils::String {
// trims beginning and end of whitespace characters
std::string trim(const std::string& in);
bool isNumber(const std::string& str, bool allowfloat = false);
void replaceInString(std::string& string, const std::string& what, const std::string& to);
};