@Test public void testUnquoteFunction(){ String expectedOutput = "test String"; String result = Utilities.unquote("\"test String\""); assert(expectedOutput.equals(result)); }
public static String unquote(String value) { if(value.startsWith("'") || value.startsWith("\"")) { return value.substring(1, value.length() - 1); } else { return value; } }
Utilities { public static String unquote(String value) { if(value.startsWith("'") || value.startsWith("\"")) { return value.substring(1, value.length() - 1); } else { return value; } } }
Utilities { public static String unquote(String value) { if(value.startsWith("'") || value.startsWith("\"")) { return value.substring(1, value.length() - 1); } else { return value; } }  }
Utilities { public static String unquote(String value) { if(value.startsWith("'") || value.startsWith("\"")) { return value.substring(1, value.length() - 1); } else { return value; } }  static String unquote(String value); static String createFunctionColName(FunctionNode function); }
Utilities { public static String unquote(String value) { if(value.startsWith("'") || value.startsWith("\"")) { return value.substring(1, value.length() - 1); } else { return value; } }  static String unquote(String value); static String createFunctionColName(FunctionNode function);  }