Here you can find the source of unescape(String s, String toUnescape)
public static String unescape(String s, String toUnescape)
//package com.java2s; //License from project: LGPL public class Main { public static String unescape(String s, String toUnescape) { return s.replace("\\" + toUnescape, toUnescape); }/*w w w .jav a2 s . co m*/ }