Starts With Any Of

Pure
StartsWithAnyOf

Returns true if the input starts with any of the provided prefixes.

Type: Pure (no side effects)
Category: Fortuna|String & Text
Keywords: string & text

Inputs

NameTypeDefaultDescription
InputFStringInput parameter
PrefixesTArray<FString>Prefixes parameter
bIgnoreCasebooltruebIgnoreCase parameter

Outputs

NameTypeDescription
ReturnValueboolReturnValue output

Example Use Cases

Example 1

Check if a console command matches any known prefix.

Example 2

Categorize file names by prefix.