summaryrefslogtreecommitdiff
path: root/include/strops.hpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-19 20:03:22 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-19 20:03:22 +0200
commit3e85a8e6db1a9c9a7fcf7974a1a0307b2cb145bd (patch)
tree16d611d9190bcf4939dd054909cb3a41a6d20fb7 /include/strops.hpp
parent7aea21f2a30e0aa3bc75a579bd01ff9746470c05 (diff)
strops and memops refactor
Diffstat (limited to 'include/strops.hpp')
-rw-r--r--include/strops.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/strops.hpp b/include/strops.hpp
index 537e058..dd01b80 100644
--- a/include/strops.hpp
+++ b/include/strops.hpp
@@ -32,6 +32,9 @@ namespace strops {
/// @brief Check if `a` matches string `b`.
/// @return `true` when strings match, else `false`.
bool equals(const char* a, const char* b);
+
+ size_t length(const char* str);
+ bool empty(const char* str);
char* tokenize(char* a, const char* find);