Java String Unquote unquote(String str)

Here you can find the source of unquote(String str)

Description

unquote

License

Apache License

Declaration

public static String unquote(String str) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String unquote(String str) {
        if (str == null)
            return null;
        return str.replaceFirst("^\\\"(.*)\\\"$", "$1");
    }//from   w w  w.  jav a2s  .  com
}

Related

  1. unquote(String s)
  2. unquote(String s)
  3. unquote(String s)
  4. unquote(String s)
  5. unquote(String s, char c)
  6. unquote(String str)
  7. unquote(String str)
  8. unquote(String str)
  9. unquote(String str)