FAnimationRuntime::GetStringDistance

Calculate distance how close two strings are.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimationRuntime.h

Include

#include "AnimationRuntime.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp

Syntax

static int32 GetStringDistance
(
    const FString & First,
    const FString & Second
)

Remarks

Calculate distance how close two strings are. By close, it calculates how many operations to transform First to Second The return value is [0-MaxLengthString(First, Second)] 0 means it's identical, Max means it's completely different

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss