Posts by João • 11 points
1 post
-
1
votes5
answers14748
viewsA: Take part of a string delimited between characters
Function split_me($string,$start,$end){ $str2 = substr(substr($string, strips($string, $start)), strlen($start); $b = strips($str2, $end); Return Trim(substr($str2, 0, $b)); } $string = 'Lorem ipsum…