Find Substring

Find Substring

Windows
MacOS
Linux

Finds the starting index of a substring in the a specified string

Target is Kismet String Library

Find Substring
Search In
Substring
Use Case
Search from End
Start Position
-1
Return Value
0

Inputs

Search In
String

The string to search within

Substring
String

The string to look for in the SearchIn string

Use Case
Boolean

Whether or not to be case-sensitive

Search from End
Boolean

Whether or not to start the search from the end of the string instead of the beginning

Start Position
Integer

The position to start the search from

Outputs

Return Value
Integer

The index (starting from 0 if bSearchFromEnd is false) of the first occurence of the substring

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