Replace strpos with the appropriate functions

Closes #3579797

Merge request reports

Loading