Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Replace commas with carriage return in text output

$
0
0
Hi,
PHPR Version 10.4.
I have a text output that takes multiple entries from a drop down in the add page.

The output that I am getting looks like:
apples,bananas,oranges,pears

I would like the output to be custom and show carriage returns for each comma. It should look like:
apples
bananas
oranges
pears

I have tried str_replace but no luck.
Anyone have any direction to help me accomplish this on my view page?

Thanks
Paul

Viewing all articles
Browse latest Browse all 2586

Trending Articles