 |
Blamite Game Engine - Strings
00326.06.27.21.0407.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
7 #define STRINGS_API __declspec(dllexport)
9 #define STRINGS_API __declspec(dllimport)
12 #define str_tolower(str) BlamStrings::Utils::String::ToLower(str);
13 #define str_toupper(str) BlamStrings::Utils::String::ToUpper(str);
44 STRINGS_API bool EndsWith(std::string
string, std::string ends_with,
bool case_insensetive);
55 STRINGS_API std::string
Replace(std::string orig, std::string to_replace, std::string replace_with);
100 STRINGS_API std::vector<std::string>
Split(std::string
string, std::string splitter);
#define STRINGS_API
Definition: string.h:9
STRINGS_API std::vector< std::string > Split(std::string string, std::string splitter)
Splits a string around any instance of a substring.
Definition: string.cpp:87
Namespace for Blamite's shared C++ library.
Definition: hooks.h:22
STRINGS_API std::string ToUpper(std::string string)
Transforms a string to all-uppercase.
Definition: string.cpp:58
STRINGS_API bool Contains(std::string string, std::string contains)
Determines whether or not a string contains the specified substring.
Definition: string.cpp:132
STRINGS_API bool StartsWith(std::string string, std::string starts_with, bool case_insensetive)
Determines whether or not a string starts with another string, case-insensetive.
Definition: string.cpp:6
STRINGS_API std::string FixDirectorySeparators(std::string string)
Replaces any instance of \\\ in a string with /.
Definition: string.cpp:107
STRINGS_API std::string ToLower(std::string string)
Transforms a string to all-lowercase.
Definition: string.cpp:49
STRINGS_API bool MemoryStringCompare(char *address, char *to_compare, int size)
Checks the specified address in memory to see if it matches a given string, ignoring null terminators...
Definition: string.cpp:142
STRINGS_API std::string Replace(std::string orig, std::string to_replace, std::string replace_with)
Replaces part of a string with another string.
Definition: string.cpp:67
STRINGS_API bool EndsWith(std::string string, std::string ends_with, bool case_insensetive)
Determines whether or not a string ends with another string, case-sensetive.
Definition: string.cpp:24
@ String
Indicates the setting stores a string.
STRINGS_API bool ContainsChar(std::string string, char contains)
Determines whether or not a string contains the specified character.
Definition: string.cpp:116