Java tutorial
//package com.java2s; public class Main { public static String getStringWithoutSurroundingQuotes(String s) { s = s.replaceAll("^\"", ""); // start quotations mark s = s.replaceAll("\"$", ""); // end quotation mark return s; } }