Stut skrev:
sivasakthi wrote:
Thanks for your response..
Actually i have the collections of strings like,
$not_quite_an_array =
'squid %tu %tl %mt %>A
test %st.%hs %>a %
$names = array();
foreach (explode("\n", $not_quite_an_array) as $line)
{
$line = trim($line);
if (strlen($line) ==
sivasakthi wrote:
Thanks for your response..
Actually i have the collections of strings like,
$not_quite_an_array =
'squid %tu %tl %mt %>A
test %st.%hs %>a %
$names = array();
foreach (explode("\n", $not_quite_an_array) as $line)
{
$line = trim($line);
if (strlen($line) == 0) continue;
Thanks for your response..
Actually i have the collections of strings like,
$not_quite_an_array =
'squid %tu %tl %mt %>A
test %st.%hs %>a % sivasakthi wrote:
> > Hi Guys,
> >
> > I have the array like below,
> >
> > squid %tu %tl %mt %>A
> > test %st.%hs %>a % > test1 %tv %tr %Hs.%Ss %mt
> > ..
3 matches
Mail list logo