| Parameter | Description |
|---|---|
| str | A string to get the substring from. |
| startIndex | Start index of substring. |
| length | Length of substring. |
T
A new string with length equivalent to length that begins at startIndex.
Retrieves a substring of this string. The substring starts from a specific character index, and has a specified length.
| Parameter | Description |
|---|---|
| str | A string to get the substring from. |
| startIndex | Start index of substring. |
T
A new string that begins at startIndex.
Retrieves a substring of this string. The substring starts from a specific character index and continues to the end of the string.
| Parameter | Description |
|---|---|
| str | A NativeText string to get the substring from. |
| startIndex | Start index of substring. |
| length | Length of substring. |
| allocator | The AllocatorHandle allocator type to use. |
NativeText
A NativeText string with a length equivalent to length that starts at startIndex and an allocator type of allocator.
Retrieves a substring from this string. The substring starts from a specific character index, and has a specified length. Allocates memory to the new substring with the allocator specified.
| Parameter | Description |
|---|---|
| str | A NativeText string to get the substring from. |
| startIndex | Start index of substring. |
| allocator | The AllocatorHandle allocator type to use. |
NativeText
A NativeText string that begins at startIndex and has an allocator of type allocator.
Retrieves a substring of this string. The substring starts from a specific character index and continues to the end of the string. Allocates memory to the new substring with the allocator specified.
| Parameter | Description |
|---|---|
| str | A NativeText string to get the substring from. |
| startIndex | Start index of substring. |
| length | Length of substring. |
NativeText
A NativeText string that has length equivalent to length and begins at startIndex.
Retrieves a substring of this string. The substring starts from a specific character index, and has a specified length. The new substring has the same allocator as the string.
| Parameter | Description |
|---|---|
| str | A NativeText to get the substring from. |
| startIndex | Start index of substring. |
NativeText
A NativeText string that begins at startIndex.
Retrieves a substring of this string. The substring starts from a specific character index and continues to the end of the string. The new substring has the same allocator as the string.