11 lines
483 B
C
11 lines
483 B
C
|
#pragma once
|
||
|
#include "sapphirepch.h"
|
||
|
|
||
|
/* Simple function to replace a substring in a string. */
|
||
|
bool replace(std::string& str, const std::string& from, const std::string& to);
|
||
|
|
||
|
/* Easy way of converting an int to a string without writing 5 lines of code every time you want to do it. */
|
||
|
std::string to_string(const int& value);
|
||
|
|
||
|
/* Easy way of converting a float to a string without writing 5 lines of code every time you want to do it. */
|
||
|
std::string to_string(const float& value);
|