1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00
SqMod/module/Library/String.hpp

28 lines
1.1 KiB
C++
Raw Permalink Normal View History

#pragma once
2015-09-30 02:56:11 +02:00
// ------------------------------------------------------------------------------------------------
#include "Core/Common.hpp"
2015-09-30 02:56:11 +02:00
// ------------------------------------------------------------------------------------------------
namespace SqMod {
/* ------------------------------------------------------------------------------------------------
* Get a new string with only the alpha numeric characters from the specified string.
*/
SQMOD_NODISCARD const SQChar * StrJustAlphaNum(const SQChar * str);
SQMOD_NODISCARD Buffer StrJustAlphaNumB(const SQChar * str);
/* ------------------------------------------------------------------------------------------------
* Convert the specified string to lowercase.
*/
SQMOD_NODISCARD const SQChar * StrToLowercase(const SQChar * str);
SQMOD_NODISCARD Buffer StrToLowercaseB(const SQChar * str);
2015-09-30 02:56:11 +02:00
/* ------------------------------------------------------------------------------------------------
* Convert the specified string to uppercase.
*/
SQMOD_NODISCARD const SQChar * StrToUppercase(const SQChar * str);
SQMOD_NODISCARD Buffer StrToUppercaseB(const SQChar * str);
2015-09-30 02:56:11 +02:00
} // Namespace:: SqMod