13 lines
385 B
C++
13 lines
385 B
C++
#pragma once
|
|||
|
|
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
namespace arrays {
|
||
|
|
|
||
|
|
[[nodiscard]] auto to_uppercase(std::string text) -> std::string;
|
||
|
|
[[nodiscard]] auto trim(const std::string& text) -> std::string;
|
||
|
|
[[nodiscard]] auto replace_all(std::string text, char from, char to) -> std::string;
|
||
|
|
[[nodiscard]] auto starts_with(const std::string& text, const std::string& prefix) -> bool;
|
||
|
|
|
||
|
|
} // namespace arrays
|