This commit is contained in:
2024-09-03 05:37:23 -07:00
parent 6afa08df82
commit 25762b0c29
7 changed files with 163 additions and 309 deletions

View File

@@ -1879,6 +1879,9 @@ namespace ehs
/// @returns The character count.
static N Len(const T* const str)
{
if (!str)
return 0;
N count = 0;
while (str[count])
++count;