human
string contains substring
assistant
Here is some code to check if string "substring" is in string

string.find('substring')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.