blob: 35b48206a007157d7cc803c2b11a4ca231af29f5 [file]
#pragma once
//#include "System.h"
//#include "OS.h"
#include "globals.h"
class String
{
private:
String(void);
~String(void);
public:
static STRING ReplaceAll(STRING originalString, STRING subStringToReplace, STRING newValue);
public:
static void StrCpy(STRING dest, STRING source);
public:
static UINT StrLen(STRING string);
public:
static void StrCat(STRING dest, STRING src);
public:
static void Sprintf1(STRING buffer, STRING format, void* arg1);
static void Sprintf2(STRING buffer, STRING format, void* arg1, void* arg2);
public:
static void StrNCpy(STRING dest, STRING source, UINT count);
public:
static STRING StrDup(STRING str);
public:
static STRING StrStr(STRING str1, STRING str2);
public:
static bool EndsWith(STRING string, STRING suffix);
static int LastIndexOf(STRING stringToSearch, STRING originalString);
};