Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static boolean isQuotedString(String string) { if (TextUtils.isEmpty(string)) return false; if (string.length() >= 2 && string.charAt(0) == '"' && string.charAt(string.length() - 1) == '"') return true; return false; } }