Changes to MString to add insert and remove methods.

This commit is contained in:
Brad Arant committed 2023-01-05 11:51:20 -08:00
1 parent 88d51cb598
commit 8f8c14d7b2
6 files changed
+103 -1

No files matched your search

+23 -1
View File
@@ -31,7 +31,7 @@ namespace coreutils {
MString(const char *data);
///
/// Consructor providing the initial setup of the ZString object.
/// Consructor providing the initial setup of the MString object.
///
MString(char *data, size_t length);
@@ -104,6 +104,28 @@ namespace coreutils {
///
///
void insert(char ch, int offset);
void insert(ZString &value, int offset);
void insert(std::string value, int offset);
///
///
///
void replace(char ch, int offset);
void replace(ZString &value, int offset);
void replace(std::string value, int offset);
///
///
///
void remove(int offset, int length);
///
///
///
MString& write(char ch);
///