Created
April 17, 2018 09:14
-
-
Save aivision369/295a8d681211e624bd5a0447e78ce743 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String getDecodedString(String string) | |
{ | |
String decodeString = ""; | |
if (string == null) { | |
return null; | |
}else{ | |
decodeString = StringEscapeUtils.unescapeHtml4( | |
new String(string.getBytes(), 0, string.length()).trim()); | |
return decodeString; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment