php - Convert numeric string into string -
itemprop = "text">
Actually I have the following string: >
And I have to change it to the following thing:
one * two * five * four * USD * four * zero * cent
How can I do that? So far I have written something like this:
public function value broken string ($ value) {$ output = ""; $ Characters = str_split ($ value); Foreign currency ($ character $$) {if (is_numeric ($ char)) {$ output. = (String) $ char is "*"; }} Returns $ output; }
But that does not work because it only displays the integer ... how can I solve it?
Comments
Post a Comment