$ alines = preg_split(" / = /",$ lines); [英] $alines = preg_split("/=/", $lines);
问题描述
是否有任何我们可以写的东西,以保持正确的txt到=符号
preg_split。来自以下几行
DST-NUMBER-IN = 0033512877596,DST-NUMBER-OUT = 98751#33512877596,
DST-NUMBER-BILL = 0033512877596
i只想要0033512877596,98751#33512877596,0033512877596
is there any thing we can write to keep the right txt to the = sign in
the preg_split. from the following lines
DST-NUMBER-IN=0033512877596, DST-NUMBER-OUT=98751#33512877596,
DST-NUMBER-BILL=0033512877596
i only want 0033512877596, 98751#33512877596, 0033512877596
推荐答案
8月28日星期日2005 17:54:52 -0700,voipcanada写道:
On Sun, 28 Aug 2005 17:54:52 -0700, voipcanada wrote:
我们可以写任何东西来保持正确的txt到=
preg_split。来自以下几行
DST-NUMBER-IN = 0033512877596,DST-NUMBER-OUT = 98751#33512877596,
DST-NUMBER-BILL = 0033512877596
我只想要0033512877596,98751#33512877596,0033512877596
is there any thing we can write to keep the right txt to the = sign in
the preg_split. from the following lines
DST-NUMBER-IN=0033512877596, DST-NUMBER-OUT=98751#33512877596,
DST-NUMBER-BILL=0033512877596
i only want 0033512877596, 98751#33512877596, 0033512877596
我相信已经回答了这个问题。你是什么意思保持正确的
txt到=符号?
-
http://www.mgogala.com
I believe that already answered this. What do you mean by "keep the right
txt to the = sign"?
--
http://www.mgogala.com
到目前为止,没有人回答这个问题,我需要知道确切的代码是
写的,亲切的问候
no one answered this till now, i need to know the exact code to be
written ,, kind regards
您可以使用preg_replace()代替:
代码:
----------------- ---
You could use preg_replace() instead:
Code:
--------------------
这篇关于$ alines = preg_split(" / = /",$ lines);的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!