Navigation
API > API/Plugins > API/Plugins/USDClasses
Description
Removes any numbered suffix, followed by any number of underscores (e.g. Asset_2, Asset__232_31 or Asset94 all become 'Asset'), making sure the string is kept at least one character long. Returns true if it removed anything.
| Name | UsdUnreal::ObjectUtils::RemoveNumberedSuffix |
| Type | function |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Public/USDObjectUtils.h |
| Include Path | #include "USDObjectUtils.h" |
| Source | /Engine/Plugins/Runtime/USDCore/Source/USDClasses/Private/USDObjectUtils.cpp |
namespace UsdUnreal
{
namespace ObjectUtils
{
bool UsdUnreal::ObjectUtils::RemoveNumberedSuffix
(
FString & Prefix
)
}
}