lilyyan
asked on
explode generating an empty element in an array
Hello,
I'm using explode to delimit a string, for example:
$testString="apple+";
//$testString = apple+orange";
$testStringArr = explode("+", $keywords);
The output of the size of the $testStringArr both are 2.
Any suggestion is highly appreciated,
lilyyan
I'm using explode to delimit a string, for example:
$testString="apple+";
//$testString = apple+orange";
$testStringArr = explode("+", $keywords);
The output of the size of the $testStringArr both are 2.
Any suggestion is highly appreciated,
lilyyan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER