mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
4a6bfc086c
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
#pragma once
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
#include "Core/Common.hpp"
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
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);
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
* Convert the specified string to uppercase.
|
|
*/
|
|
SQMOD_NODISCARD const SQChar * StrToUppercase(const SQChar * str);
|
|
SQMOD_NODISCARD Buffer StrToUppercaseB(const SQChar * str);
|
|
|
|
} // Namespace:: SqMod
|