接收如下数组:
Array ( [0] => Details of Contact Made: [1] => )
Array ( [0] => ABC
abc@yahoo.co.in
1234567890
[1] => )
Array ( [0] => I am interested in your Residential Plot. Please get in touch with me.
Immediately
[1] => )`
如何提取信息:
ABC
abc@yahoo.co.in
1234567890
I am interested in your Residential Plot. Please get in touch with me.
Immediately
请帮忙。我一直在寻找最近5天。
答案 0 :(得分:0)
当我理解你的问题时,你可以内爆“inputArray”,得到单个字符串。
例如:
<?php
// $inputArray =
/*
Array ( [0] => Details of Contact Made: [1] => ) Array ( [0] => ABC
abc@yahoo.co.in
1234567890
[1] => ) Array ( [0] => I am interested in your Residential Plot. Please get in touch with me.
Immediately
[1] => )
*/
$extractedInformation = implode(" ", $inputArray);
var_dump($extractedInformation);
?>