![]() |
PHP function for finding out if string is part of another string ?
I got a string, say a="test1 test2 test3"
I got another string, say b="test1" I want to check if b occurs in a, any ideas on a PHP function can I use ? Ah nvm....ereg or preg_match ... :D |
Nope, use strpos :) Far quicker
|
All times are GMT. The time now is 03:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|