open-story-teller/core/lib/sys_lib.h
anthony@rabine.fr f538148a9a
Some checks failed
build-story-editor / build_linux (push) Has been cancelled
build-story-editor / build_win32 (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
Create separated core (WIP) GUI agnostic, new sub pages for functions
2024-08-30 13:25:40 +02:00

17 lines
578 B
C++

#pragma once
#include <string>
class SysLib
{
public:
static std::string GetFileExtension(const std::string &FileName);
static std::string GetFileName(const std::string &path);
static std::string RemoveFileExtension(const std::string &FileName);
static void ReplaceCharacter(std::string &theString, const std::string &toFind, const std::string &toReplace);
static std::string Normalize(const std::string &input);
static void EraseString(std::string &theString, const std::string &toErase);
static std::string ToUpper(const std::string &input);
};