title: Java How to remove carriage return (HEX 0A) from String?
body: <p>If a particular String contains a newline character that is invisible (not \n but is 0A in hexadecimal because this value is passed down from the database), how can i able to chomp it away? Will Apache Chomp help?</p>
  
  <p><a href="http://commons.apache.org/lang/api-2.5/org/apache/commons/lang/StringUtils.html#chomp(java.lang.String" rel="nofollow">http://commons.apache.org/lang/api-2.5/org/apache/commons/lang/StringUtils.html#chomp(java.lang.String</a>)</p>
  
  <p>The hex form of the text returned from the database is "5761 6920 4D61 6E0D 0A"</p>
  
  <p>It translates to "Wai Man" with a carriage return. </p>