_GET_TEXT_SUBSTRING
Docslocal retval = GetTextSubstring(text, position, length)Description
Returns a substring of a specified length starting at a specified position.
Example:
// Get "STRING" text from "MY_STRING"
subStr = HUD::_GET_TEXT_SUBSTRING("MY_STRING", 3, 6);
Parameters
| Name | Type | Description |
|---|---|---|
text | char* | — |
position | int | — |
length | int | — |
Returns
char*