use strpos instead of deprecated in_string

Change-Id: Ia2918565b5de4375078b397e5475df6960787133