2020-03-22 00:45:04 +01:00
|
|
|
#pragma once
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2021-01-30 07:51:39 +01:00
|
|
|
#include "Core/Common.hpp"
|
2015-09-30 02:56:11 +02:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
2016-02-20 23:25:00 +01:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Get a new string with only the alpha numeric characters from the specified string.
|
|
|
|
*/
|
2021-01-30 07:51:39 +01:00
|
|
|
SQMOD_NODISCARD const SQChar * StrJustAlphaNum(const SQChar * str);
|
|
|
|
SQMOD_NODISCARD Buffer StrJustAlphaNumB(const SQChar * str);
|
2016-02-20 23:25:00 +01:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Convert the specified string to lowercase.
|
|
|
|
*/
|
2021-01-30 07:51:39 +01:00
|
|
|
SQMOD_NODISCARD const SQChar * StrToLowercase(const SQChar * str);
|
|
|
|
SQMOD_NODISCARD Buffer StrToLowercaseB(const SQChar * str);
|
2015-09-30 02:56:11 +02:00
|
|
|
|
2016-02-21 09:30:47 +01:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Convert the specified string to uppercase.
|
|
|
|
*/
|
2021-01-30 07:51:39 +01:00
|
|
|
SQMOD_NODISCARD const SQChar * StrToUppercase(const SQChar * str);
|
|
|
|
SQMOD_NODISCARD Buffer StrToUppercaseB(const SQChar * str);
|
2016-02-21 09:30:47 +01:00
|
|
|
|
2015-09-30 02:56:11 +02:00
|
|
|
} // Namespace:: SqMod
|