Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Text
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Text/CharRangeList.h |
| Include | #include "Framework/Text/CharRangeList.h" |
Syntax
USTRUCT ()
struct FCharRange
Remarks
Represents a range of characters, specified by the Unicode code point of the first and last characters in the range, both included. If you need a single-character range, simply use the same character for both the first and last characters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint16 | First | Unicode code point of the first character in the range (inclusive). | |
| uint16 | Last | Unicode code point of the last character in the range (inclusive). |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | InitializeFromString
(
const FString& InDefinitionString, |
Initializes this range from the given substring. | |
| FString | ToString () |
Returns a string that represents this range, as "a-z" if the range contains multiple characters or simply "p" if it contains a single character. |