![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CharRangeList.h>
Public Member Functions | |
| bool | InitializeFromString (const FString &InDefinitionString, int32 InFromIndex, int32 *OutLastIndex) |
| FString | ToString () const |
Public Attributes | |
| uint16 | First = 0 |
| uint16 | Last = 0 |
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.
| bool FCharRange::InitializeFromString | ( | const FString & | InDefinitionString, |
| int32 | InFromIndex, | ||
| int32 * | OutLastIndex | ||
| ) |
Initializes this range from the given substring. See ToString for an overview on the required format. OutLastIndex will contain the index of the character following the parsed range.
| FString FCharRange::ToString | ( | ) | const |
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.
| uint16 FCharRange::First = 0 |
Unicode code point of the first character in the range (inclusive). Only characters within the Basic Multilingual Plane are supported. Note: The code point must be entered in decimal, not hexadecimal.
| uint16 FCharRange::Last = 0 |
Unicode code point of the last character in the range (inclusive). Only characters within the Basic Multilingual Plane are supported. Note: The code point must be entered in decimal, not hexadecimal.