Update Strings
@@ -48,7 +48,7 @@ ehs::Str_8 b = a.GetUpper();
|
|||||||
**Result:** b == "HELLO WORLD!"
|
**Result:** b == "HELLO WORLD!"
|
||||||
|
|
||||||
### Split
|
### Split
|
||||||
This method will split a single string into multiple strings with the given delimiter and return a Vector container object. The first parameter is the given delimiter to split the string with. The second parameter is the maximum number of times to split the string.
|
This method will split a single string into multiple strings with the given delimiter and return a Vector container object. The first parameter is the given delimiter to split the string with. The second parameter is the maximum number of times to split the string; this can be set to zero for unlimited.
|
||||||
```cpp
|
```cpp
|
||||||
ehs::Str_8 a = "Hello! How are you?";
|
ehs::Str_8 a = "Hello! How are you?";
|
||||||
ehs::Vector<ehs::Str_8> b = a.Split(" ", 1);
|
ehs::Vector<ehs::Str_8> b = a.Split(" ", 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user