how to using contains in react code example Example: string contains in react string.includes(substring);