[ create a new paste ] login | about

Link: http://codepad.org/Rrrue2aj    [ raw code | output | fork ]

PHP, pasted on Sep 24:
1
2
3
4
5
6
<?php
$string ="High School#Church Divinity School of the Pacific#1989 | University of California#1992  | University#California State University, Long Beach#1999";
$string = str_replace(array('#', '|'), array('<br />', '<hr />'), $string);

echo $string;
?>


Output:
1
High School<br />Church Divinity School of the Pacific<br />1989 <hr /> University of California<br />1992  <hr /> University<br />California State University, Long Beach<br />1999


Create a new paste based on this one


Comments: