commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <m...@michaelmcgrady.com>
Subject Re: escape characters with org.apache.commons.lang.StringUtils
Date Tue, 07 Sep 2004 13:13:25 GMT
Harrie Hazewinkel wrote:

> HI all,
>
> For example, string "line1\r\nline2\r\n" should become
> "line1=0D=0A=line2=0D=0A=". 


Use the replaceAll(String,String) method in String.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message