Update Strings
19
Strings.md
19
Strings.md
@@ -23,10 +23,27 @@ ehs::Str_8 str = "Hello World!";
|
|||||||
str.ToLower();
|
str.ToLower();
|
||||||
```
|
```
|
||||||
**Result:** str == "hello world!"
|
**Result:** str == "hello world!"
|
||||||
|
|
||||||
|
### GetLower
|
||||||
|
This method will turn all English alphabetic characters into their lower case equivalent on a new string object and return it.
|
||||||
|
```cpp
|
||||||
|
ehs::Str_8 a = "Hello World!";
|
||||||
|
ehs::Str_8 b = a.GetLower();
|
||||||
|
```
|
||||||
|
**Result:** b == "hello world!"
|
||||||
|
|
||||||
### ToUpper
|
### ToUpper
|
||||||
This method will turn all English alphabetic characters into their upper case equivalent on the current object.
|
This method will turn all English alphabetic characters into their upper case equivalent on the current object.
|
||||||
```cpp
|
```cpp
|
||||||
ehs::Str_8 str = "Hello World!";
|
ehs::Str_8 str = "Hello World!";
|
||||||
str.ToUpper();
|
str.ToUpper();
|
||||||
```
|
```
|
||||||
**Result:** str == "HELLO WORLD!"
|
**Result:** str == "HELLO WORLD!"
|
||||||
|
|
||||||
|
### GetUpper
|
||||||
|
This method will turn all English alphabetic characters into their upper case equivalent on a new string object and return it.
|
||||||
|
```cpp
|
||||||
|
ehs::Str_8 a = "Hello World!";
|
||||||
|
ehs::Str_8 b = a.GetUpper();
|
||||||
|
```
|
||||||
|
**Result:** b == "HELLO WORLD!"
|
||||||
Reference in New Issue
Block a user