Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/FString > API/Runtime/Core/Containers/FString/StartsWith
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h |
| Include | #include "Containers/UnrealString.h" |
template<typename TCharRangeType, std::enable_if_t< TIsCharRangeNotCArrayNotFString< TCharRangeType >::Value > &42;>
bool StartsWith
&40;
TCharRangeType && InPrefix,
ESearchCase::Type SearchCase
&41; const
Remarks
Test whether this string starts with given prefix. true if this string begins with specified text, false otherwise
Parameters
| Name | Description |
|---|---|
| SearchCase | Indicates whether the search is case sensitive or not ( defaults to ESearchCase::IgnoreCase ) |