String matching C#

I have a problem …

i have a string

public string str;
public string find;
void Start() {
str = “wattesboxblspoiifa”
find = “box”;

void Update() {
find = str;

I wanna search the box in str :slight_smile: please help me

bool inString = str.Contains(find, StringComparison.Ordinal);

use OrdinalIgnoreCase instead if you dont care about case sensitive strings.