I have a string like this $value[0] = "8000297c - 1360598144 "
I explode them into 2 pieces by doing this : $elements = explode('-', $value[0]);
Then I created 2 variables to store them :
$first = strtolower($elements[0]); // 8000297c
$last = strtoupper($elements[1]); // 1360598144
Now- after formatting them, I want to join them back to the original format like this
$first."-".$last
I was thinking to use implode()
function, and I tried
-
$polish_sku = implode("-", $first, $last);
- then, I got this :
I hope someone don't mind and point out what I did wrong. :D