Posts Under 'nl2br'

Java method similar to nl2br in PHP

Below Java method will work same as PHP function nl2br public static String nl2br( String text){ return text.replaceAll("\n","<br />"); }

Read more »