Use strpos rather then deprecated in_string

Change-Id: Ib2628d6b84af70995f5f920846311cbd2c7128fb