Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets a non-owning character pointer from a string type. | |||
const TCHAR * ToCStr
(
const TCHAR* Ptr |
Gets a non-owning TCHAR pointer from a string type. | Misc/Crc.h |
ToCStr(const FString &)
Description
Gets a non-owning character pointer from a string type.
Can be used generically to get a const char pointer, when it is not known if the argument is a char pointer or a string:
template
| Name | ToCStr |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h.inl |
| Include Path | #include "Containers/UnrealString.h.inl" |
UE_FORCEINLINE_HINT const FString::ElementType * ToCStr
(
const FString & Str
)
ToCStr(const TCHAR *)
Description
Gets a non-owning TCHAR pointer from a string type.
Can be used generically to get a const TCHAR*, when it is not known if the argument is a TCHAR* or an FString:
template
| Name | ToCStr |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Crc.h |
| Include Path | #include "Misc/Crc.h" |
const TCHAR * ToCStr
(
const TCHAR * Ptr
)