I have an array with values:
$samevalues = array(
"0" => "This is a test with apples",
"1" => "This is a test with pears",
"2" => "It tastes better with pears",
"3" => "This is a test with bananas",
"4" => "It tastes better with mangos",
"5" => "This is a test with mangos",
"6" => "This is a test with carots",
"7" => "It tastes better with lemons",
);
I'd like to return:
$returned = array(
"0" => "This is a test with",
"1" => "It tastes better with",
);
I want this to work with any entry, not just the example I gave.
Hello, How are you?
PHP is my really talent skill, I can handle array perfectly as you want.
As a professional back-end developer, I have 7+ years of experience in PHP
Let's achieve success together.
Please message me so that we can discuss your project in detail.
Hope to be working with you.
Hi,
I offer advanced text parsing based on an array/vector/list of values, or any other form of container of text strings- with subsets of deduced/subtracted/processes values. It's all about RULES to be applied to a set of strings. Once the rules are well-defined, applying an algorithm to create the desired outcome , based on a set of strings is not too hard. :)
Can I help?
Hello Sir,
I will start work immediately and will complete in time
Before Awarding to Anyone give me a chance & kindly discuss your project in detail with me.
I have read your requirement carefully and got total understanding of the project .No fake commitment,100% quality work.
I have more than 9 years of experience in Website Designing/Development , Mobile App Development & Digital Marketing.I can show my portfolio and previous work.
I will be available more than 70 hours per week and able to start your project immediately after finalization. Thank you for taking the time to read my application. I look forward to talking with you.
Thanks In Advance
Hi sir, how are you?
Your project description is very interesting.
As a senior developer I promise you nice service.
I will wait your response and I hope long term relationship with you.
Thanks, regards..
I am a full-stack developer. I specialize in PHP, JQUERY, AJAX, MYSQL, HTML, CSS and bootstrap. Come over the chat we discuss more. I can implement this right away
Hi there,
I understand from your example that you want to extract the unique statements that are repeated in the first array without its variables (apples, pears, bananas, etc). And it should work with this concept on any other example that could be given.
Please let me know if I am correct!
Thanks!
Hello,
I read your job description and I think my ability is just suitable for this job.
I will complete your project perfectly, you will get satisfied result.
Because a satisfied client is like a billion dollar smile to us. I have gone through our requirement