Bitte schaut doch mal wer drüber, Danke!
<?php define("NL", "\n"); ABC_vertical( $string ) { global $ABC_anz; $string = chunk_split( $string, 1, ">|<" ); $strings = explode( ">|<", $string ); $ABC_anz = count( $strings ); foreach( $strings as $k => $v ) { $return .= $v . "<br />" . NL; } return $return; } echo ABC_vertical("Test 123"); ?>