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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback