Search Results

Search: Posts Made By: priyagchaudhary
6,041
Posted By priyagchaudhary
extract string between two specified characters and end of line
You can leave the $start or $end arguments empty and it will use the start or end of the string.

echo get_string_between("Hello my name is bob", "my", ""); //output: " name is bob"

private...
837
Posted By priyagchaudhary
echo get_string_between("Hello my name is bob", "my", ""); //output: " name is bob"
I hope it's work

echo get_string_between("Hello my name is bob", "my", ""); //output: " name is bob"

private function get_string_between($string, $start, $end){ // Get
if($start != ''){...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy