Test a string for a substring [duplicate] December 2, 2022 by Tarik if "ABCD" in "xxxxABCDyyyy": # whatever