Comparing strings in Unreal Blueprint

When submitting a new asset to the Unreal Engine marketplace the Marketplace Support Team asked me to remove the C++ string comparison class so I created a Blueprint equivalent. This is useful for sorting strings in an array to alphabetical order. I have provided a Blueprint Function Library containing the function for string comparison. Copy the file within the zip file to your Content folder and open your project (UE4.25.4 or later), inside the BP_FunctionLibrary1 blueprint you will see the function for string comparison which you can then use in your own Blueprints.

String Comparison Blueprint (161 downloads)