Ciąg zawiera w React

string.includes(substring);
Joyous Jackal