◆ CountEmptyEntries()
int SCR_StringArray.CountEmptyEntries |
( |
| ) |
|
- Returns
- the number of empty entries in the array
◆ CountEmptyOrWhiteSpaceEntries()
int SCR_StringArray.CountEmptyOrWhiteSpaceEntries |
( |
| ) |
|
- Returns
- the number of empty or whitespace entries in the array
◆ HasEmptyEntry()
bool SCR_StringArray.HasEmptyEntry |
( |
| ) |
|
- Returns
- true if an entry is empty, false otherwise
◆ HasEmptyOrWhiteSpaceEntry()
bool SCR_StringArray.HasEmptyOrWhiteSpaceEntry |
( |
| ) |
|
- Returns
- true of an entry is empty or whitespace, false otherwise
◆ Join()
string SCR_StringArray.Join |
( |
string | separator = string::Empty, |
|
|
bool | joinEmptyEntries = true ) |
- Parameters
-
[in] | separator | |
[in] | joinEmptyEntries | |
- Returns
- all items linked with the provided separator (e.g { "a", "b", "c" } separator ":" = "a:b:c")
◆ RemoveEmptyEntries()
int SCR_StringArray.RemoveEmptyEntries |
( |
| ) |
|
Remove empty entries, keep all others including the whitespace ones.
- Returns
- the amount of removed entries
◆ RemoveEmptyOrWhiteSpaceEntries()
int SCR_StringArray.RemoveEmptyOrWhiteSpaceEntries |
( |
| ) |
|
Remove empty and whitespace entries, keeping all the other ones.
- Returns
- the amount of removed entries
◆ ToLower()
void SCR_StringArray.ToLower |
( |
| ) |
|
Set all entries to lowercase.
◆ ToUpper()
void SCR_StringArray.ToUpper |
( |
| ) |
|
Set all entries to uppercase.
◆ Trim()
void SCR_StringArray.Trim |
( |
| ) |
|
Trim all entries (uses string.TrimInPlace())
The documentation for this interface was generated from the following file:
- Game/Helpers/Types/SCR_StringArray.c