Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UKismetStringLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetStringLibrary.h |
Include | #include "Kismet/KismetStringLibrary.h" |
Syntax
class UKismetStringLibrary : public UBlueprintFunctionLibrary
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UKismetStringLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FString | BuildString_Bool
(
const FString& AppendTo, |
Converts a boolean->string, creating a new string in the form AppendTo+Prefix+InBool+Suffix |
![]() ![]() |
FString | BuildString_Color
(
const FString& AppendTo, |
Converts a color->string, creating a new string in the form AppendTo+Prefix+InColor+Suffix |
![]() ![]() |
FString | BuildString_Double
(
const FString& AppendTo, |
Converts a double->string, create a new string in the form AppendTo+Prefix+InDouble+Suffix |
![]() ![]() |
FString | BuildString_Int
(
const FString& AppendTo, |
Converts a int->string, creating a new string in the form AppendTo+Prefix+InInt+Suffix |
![]() ![]() |
FString | BuildString_IntVector
(
const FString& AppendTo, |
Converts an IntVector->string, creating a new string in the form AppendTo+Prefix+InIntVector+Suffix |
![]() ![]() |
FString | BuildString_Name
(
const FString& AppendTo, |
Converts a color->string, creating a new string in the form AppendTo+Prefix+InName+Suffix |
![]() ![]() |
FString | BuildString_Object
(
const FString& AppendTo, |
Converts a object->string, creating a new string in the form AppendTo+Prefix+object name+Suffix |
![]() ![]() |
FString | BuildString_Rotator
(
const FString& AppendTo, |
Converts a rotator->string, creating a new string in the form AppendTo+Prefix+InRot+Suffix |
![]() ![]() |
FString | BuildString_Vector
(
const FString& AppendTo, |
Converts a vector->string, creating a new string in the form AppendTo+Prefix+InVector+Suffix |
![]() ![]() |
FString | BuildString_Vector2d
(
const FString& AppendTo, |
Converts a vector2d->string, creating a new string in the form AppendTo+Prefix+InVector2d+Suffix |
![]() ![]() |
FString | Concat_StrStr
(
const FString& A, |
String functions. Concatenates two strings together to make a new string |
![]() ![]() |
bool | Returns whether this string contains the specified substring. | |
![]() ![]() |
FString | Conv_BoolToString
(
bool InBool |
Converts a boolean value to a string, either 'true' or 'false' |
![]() ![]() |
FString | Conv_ByteToString
(
uint8 InByte |
Converts a byte value to a string |
![]() ![]() |
FString | Conv_ColorToString
(
FLinearColor InColor |
Converts a linear color value to a string, in the form '(R=,G=,B=,A=)' |
![]() ![]() |
FString | Conv_DoubleToString
(
double InDouble |
Converts a double value to a string |
![]() ![]() |
FString | Conv_InputDeviceIdToString
(
FInputDeviceId InDeviceId |
Converts a InputDeviceId value to a string |
![]() ![]() |
FString | Conv_Int64ToString
(
int64 InInt |
Converts an 64-bit integer value to a string |
![]() ![]() |
FString | Conv_IntPointToString
(
FIntPoint InIntPoint |
Converts an IntPoint value to a string, in the form 'X= Y=' |
![]() ![]() |
FString | Conv_IntToString
(
int32 InInt |
Converts an integer value to a string |
![]() ![]() |
FString | Conv_IntVectorToString
(
FIntVector InIntVec |
Converts an IntVector value to a string, in the form 'X= Y= Z=' |
![]() ![]() |
FString | Conv_MatrixToString
(
const FMatrix& InMatrix |
Converts a name value to a string |
![]() ![]() |
FString | Conv_NameToString
(
FName InName |
Converts a name value to a string |
![]() ![]() |
FString | Conv_ObjectToString
(
UObject* InObj |
Converts a UObject value to a string by calling the object's GetName method |
![]() ![]() |
FString | Conv_PlatformUserIdToString
(
FPlatformUserId InPlatformUserId |
Converts a PlatformUserId value to a string |
![]() ![]() |
FString | Conv_RotatorToString
(
FRotator InRot |
Converts a rotator value to a string, in the form 'P= Y= R=' |
![]() ![]() |
void | Conv_StringToColor
(
const FString& InString, |
Convert String Back To Color. |
![]() ![]() |
double | Conv_StringToDouble
(
const FString& InString |
Converts a string to a double value |
![]() ![]() |
int32 | Conv_StringToInt
(
const FString& InString |
Converts a string to a int value |
![]() ![]() |
int64 | Conv_StringToInt64
(
const FString& InString |
Converts a string to a int value |
![]() ![]() |
FName | Conv_StringToName
(
const FString& InString |
Converts a string to a name value |
![]() ![]() |
void | Conv_StringToRotator
(
const FString& InString, |
Convert String Back To Rotator. |
![]() ![]() |
void | Conv_StringToVector
(
const FString& InString, |
Convert String Back To Vector. |
![]() ![]() |
void | Conv_StringToVector2D
(
const FString& InString, |
Convert String Back To Vector2D. |
![]() ![]() |
void | Conv_StringToVector3f
(
const FString& InString, |
Convert String Back To Float Vector. |
![]() ![]() |
FString | Conv_TransformToString
(
const FTransform& InTrans |
Converts a transform value to a string, in the form 'Translation: X= Y= Z= Rotation: P= Y= R= Scale: X= Y= Z=' |
![]() ![]() |
FString | Conv_Vector2dToString
(
FVector2D InVec |
Converts a vector2d value to a string, in the form 'X= Y=' |
![]() ![]() |
FString | Conv_Vector3fToString
(
FVector3f InVec |
Converts a float vector value to a string, in the form 'X= Y= Z=' |
![]() ![]() |
FString | Conv_VectorToString
(
FVector InVec |
Converts a vector value to a string, in the form 'X= Y= Z=' |
![]() ![]() |
int32 | Takes an array of strings and removes any zero length entries. | |
![]() ![]() |
bool | EndsWith
(
const FString& SourceString, |
Test whether this string ends with given string. |
![]() ![]() |
bool | EqualEqual_StriStri
(
const FString& A, |
Test if the input strings are equal (A == B), ignoring case |
![]() ![]() |
bool | EqualEqual_StrStr
(
const FString& A, |
Test if the input strings are equal (A == B) |
![]() ![]() |
int32 | FindSubstring
(
const FString& SearchIn, |
Finds the starting index of a substring in the a specified string |
![]() ![]() |
TArray< FString > | GetCharacterArrayFromString
(
const FString& SourceString |
Returns an array that contains one entry for each character in SourceString |
![]() ![]() |
int32 | GetCharacterAsNumber
(
const FString& SourceString, |
Gets a single character from the string (as an integer) |
![]() ![]() |
FString | GetSubstring
(
const FString& SourceString, |
Returns a substring from the string starting at the specified position |
![]() ![]() |
bool | Returns true if the string is empty | |
![]() ![]() |
bool | Checks if a string contains only numeric characters | |
![]() ![]() |
FString | JoinStringArray
(
const TArray< FString >& SourceArray, |
Concatenates an array of strings into a single string. |
![]() ![]() |
FString | Returns the left most given number of characters | |
![]() ![]() |
FString | Returns the left most characters from the string chopping the given number of characters from the end | |
![]() ![]() |
FString | Pad the left of this string for a specified number of characters | |
![]() ![]() |
int32 | Returns the number of characters in the string | |
![]() ![]() |
bool | MatchesWildcard
(
const FString& SourceString, |
Searches this string for a given wild cardThis is a simple, SLOW routine. Use with caution |
![]() ![]() |
FString | Returns the substring from Start position for Count characters. | |
![]() ![]() |
bool | NotEqual_StriStri
(
const FString& A, |
Test if the input string are not equal (A != B), ignoring case differences |
![]() ![]() |
bool | NotEqual_StrStr
(
const FString& A, |
Test if the input string are not equal (A != B) |
![]() ![]() |
TArray< FString > | ParseIntoArray
(
const FString& SourceString, |
Gets an array of strings from a source string divided up by a separator and empty strings can optionally be culled. |
![]() ![]() |
FString | Replace
(
const FString& SourceString, |
Replace all occurrences of a substring in this string |
![]() ![]() |
int32 | ReplaceInline
(
FString& SourceString, |
Replace all occurrences of SearchText with ReplacementText in this string. |
![]() ![]() |
FString | Returns a copy of this string, with the characters in reverse order | |
![]() ![]() |
FString | Returns the string to the right of the specified location, counting back from the right (end of the word). | |
![]() ![]() |
FString | Returns the string to the right of the specified location, counting forward from the left (from the beginning of the word). | |
![]() ![]() |
FString | Pad the right of this string for a specified number of characters | |
![]() ![]() |
bool | Split
(
const FString& SourceString, |
Splits this string at given string position case sensitive. |
![]() ![]() |
bool | StartsWith
(
const FString& SourceString, |
Test whether this string starts with given string. |
![]() ![]() |
FString | TimeSecondsToString
(
float InSeconds |
Convert a number of seconds into minutes:seconds.milliseconds format string (including leading zeroes) |
![]() ![]() |
FString | Returns a string converted to Lower case | |
![]() ![]() |
FString | Returns a string converted to Upper case | |
![]() ![]() |
FString | Removes whitespace characters from the front of this string. | |
![]() ![]() |
FString | TrimTrailing
(
const FString& SourceString |
Removes trailing whitespace characters |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FString | BuildString_Float
(
const FString& AppendTo, |
This method has been deprecated and will be removed. Please use FString::Printf instead. |
![]() ![]() |
FString | Conv_FloatToString
(
float InFloat |
This method has been deprecated and will be removed. Please use FString::SanitizeFloat() or LexToSanitzedString instead. |
![]() ![]() |
float | Conv_StringToFloat
(
const FString& InString |
This method has been deprecated and will be removed. Please use LexFromString instead. |