Update Strings

2025-11-20 11:34:08 -08:00
parent 11d0101df9
commit c4922b2752

@@ -15,6 +15,20 @@ The examples below will only be using UTF-8 strings to demonstrate it's function
- **Str_8** - UTF-8 encoded string
# Examples
### Size
This method is used to return the size of the string object in characters. There is a single optional Boolean parameter to retrieve the size in bytes.
```cpp
ehs::Str_8 a = "Hello World!";
ehs::UInt_64 b = a.Size();
```
**Result:** b == 12
```cpp
ehs::Str_8 a = "Hello World!";
ehs::UInt_64 b = a.Size(true);
```
**Result:** b == 12
**Note:** The size in bytes is the same as the size in characters because ASCII is only one byte.
### ToLower
This method will turn all English alphabetic characters into their lower case equivalent on the current object.
```cpp