Java String Unescape unescape(String s, String toUnescape)

Here you can find the source of unescape(String s, String toUnescape)

Description

unescape

License

LGPL

Declaration

public static String unescape(String s, String toUnescape) 

Method Source Code

//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*/
}

Related

  1. unescape(String s)
  2. unescape(String s)
  3. unescape(String s)
  4. unescape(String s, char[] charsToEscape)
  5. unescape(String s, int i)
  6. unescape(String source)
  7. unescape(String src)
  8. unescape(String src)
  9. unescape(String src)