mirror of
https://github.com/hyprwm/hyprutils.git
synced 2026-05-24 09:08:10 +02:00
10 lines
360 B
C++
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);
|
|
};
|