like 25 25 inside the string php

Solutions on MaxInterview for like 25 25 inside the string php by the best coders in the world

showing results for - "like 25 25 inside the string php"
Lea
21 Jan 2016
1strpos('STRING', 'SEARCH_ITEM');
2
3--------------OR--------------------
4  
5preg_match('~' . preg_quote('.SEARCH_ITEM.', '~') . '~', 'STRING');