I'm trying to check if a certain keyword is in the string entered by the user.
This is how I would do it in python.
keyword = "something"
user_input = input("Enter a something: ")
if keyword in user_input: # I don't know how to do this part
print("You entered something")
else:
print("You didn't enter something")
How would I do something like that in C?