Static Public Member Functions | |
static FString | JoinString (const FString &A, const FString &B, const FString &Sep="") |
Joins the given strings with an optional separator. More... | |
static bool | IsStringEmpty (const FString &Input) |
Checks if the string is empty. More... | |
static bool | IsStringNotEmpty (const FString &Input) |
Checks if the string is not empty. More... | |
static FString | PadStringLeftWithFiller (const FString Input, const int32 Length, FString Filler=FString(" ")) |
Pads a string to a certain length with the provided filler. More... | |
static FString | PadStringRightWithFiller (const FString Input, const int32 Length, FString Filler=FString(" ")) |
Pads a string to a certain length with the provided filler. More... | |
static TArray< FString > | ExplodeString (const FString Input, const FString Separator) |
Splits a string at every occurance of the given separator and returns the pieces as an array. More... | |
static FString | SurroundString (const FString Prefix, const FString Input, const FString Suffix) |
Surrounds the given string with an optional prefix and suffix. More... | |
static FString | FloatToStringWithPrecision (const float Input, const int32 FractionalDigits) |
Returns a string representation of a float, with the specified precision. More... | |
|
static |
Splits a string at every occurance of the given separator and returns the pieces as an array.
Input | The input string |
Separator | The separator to split at |
|
static |
Returns a string representation of a float, with the specified precision.
Input | The input string |
FractionalDigits | Number of digits after the decimal |
|
static |
Checks if the string is empty.
Input | The input string |
|
static |
Checks if the string is not empty.
Input | The input string |
|
static |
Joins the given strings with an optional separator.
A | Left string operand |
B | Right string operand |
Sep | Optional separator |
|
static |
Pads a string to a certain length with the provided filler.
Adds filler on the left side of the string. Filler defaults to a space (" ") if not provided. If len(input+(filler*n)) != output length, the filler will be truncated ("foo" -> pad with "-=" to 10 -> "-=-=-=-foo").
Input | The input string |
Length | The desired length |
Filler | The string to fill the padded space with |
|
static |
Pads a string to a certain length with the provided filler.
Adds filler on the right side of the string. Filler defaults to a space (" ") if not provided. If len(input+(filler*n)) != output length, the filler will be truncated ("foo" -> pad with "-=" to 10 -> "foo-=-=-=-").
Input | The input string |
Length | The desired length |
Filler | The string to fill the padded space with |
|
static |
Surrounds the given string with an optional prefix and suffix.
Prefix | The input string |
Input | The input string |
Suffix | The separator to split at |