Java tutorial
//package com.java2s; public class Main { public static String removeSizeQuote(String str) { if (str == null) { return null; } if (str.startsWith("\"") && str.endsWith("\"") && str.length() > 2) { return str.substring(1, str.length()); } return str; } }