如何在PHP中获得两个字符串之间的子字符串?
strpos
substr
$string = "foo I wanna a cake foo";
$substring = getInnerSubstring($string,"foo");
最新情况:getInnerSubstring($str,$delim)
$string =" foo I like php foo, but foo I also like asp foo, foo I feel hero foo";
{"I like php", "I also like asp", "I feel hero"}
.
POPMUISE
UYOU