7#if PLATFORM_USE_GENERIC_STRING_IMPLEMENTATION
24 template <
typename CharType>
25 static inline CharType* Strupr(CharType* Dest,
SIZE_T DestCount)
27 for (CharType*
Char = Dest; *
Char && DestCount > 0;
Char++, DestCount--)
42 UE_DEPRECATED(5.6,
"Use Strncpy instead. Note that Strncpy has a behavior difference from Strcpy: it memzeroes the entire DestCount-sized buffer after the end of string.")
45 return Strcpy(Dest, Src);
50 UE_DEPRECATED(5.6,
"Use Strncat instead. !!NOTE THAT STRNCAT takes SrcLen rather than DestCount. You must call Strncat(Dest, Src, DestCount - Strlen(Dest) - 1).")
53 SIZE_T DestLen = Strlen(Dest);
54 return Strncat(Dest, Src, DestLen + 1 <= DestCount ? DestCount - DestLen - 1 : 0);
103#if PLATFORM_TCHAR_IS_CHAR16
219 return strcpy( Dest, Src );
225 UE_DEPRECATED(5.6,
"Use Strncpy instead. Note that Strncpy has a behavior difference from Strcpy: it memzeroes the entire DestCount-sized buffer after the end of string.")
228 return Strcpy(Dest, Src);
234PRAGMA_DISABLE_DEPRECATION_WARNINGS
235 ::strncpy(Dest, Src,
MaxLen);
245 return strcat( Dest, Src );
250 UE_DEPRECATED(5.6,
"Use Strncat instead. !!NOTE THAT STRNCAT takes SrcLen rather than DestCount. You must call Strncat(Dest, Src, DestCount - Strlen(Dest) - 1).")
253 return Strcat(Dest, Src);
265 return strncat(Dest, Src, SrcLen);
349#if PLATFORM_USE_S_SPEC_FOR_NARROWCHAR_IN_VSPRINTF
369 if (From[0] ==
'h' && From[1] ==
's')
392 UE_DEPRECATED(5.6,
"Use Strncpy instead. Note that Strncpy has a behavior difference from Strcpy: it memzeroes the entire DestCount-sized buffer after the end of string.")
409 UE_DEPRECATED(5.6,
"Use Strncat instead. !!NOTE THAT STRNCAT takes SrcLen rather than DestCount. You must call Strncat(Dest, Src, DestCount - Strlen(Dest) - 1).")
412 return Strcat(Dest, Src);
#define NULL
Definition oodle2base.h:134
ENGINE_API void StringSize(const UFont *Font, int32 &XL, int32 &YL, FStringView Text)
Definition Canvas.cpp:1181
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE_STRING_CLASS Result(Forward< LhsType >(Lhs), RhsLen)
Definition String.cpp.inl:732
static CharType ToUpper(CharType Char)
Definition Char.h:80