Java String Dequote deQuoteStringArray(String... quoted)

Here you can find the source of deQuoteStringArray(String... quoted)

Description

de Quote String Array

License

Open Source License

Declaration

public static String[] deQuoteStringArray(String... quoted) 

Method Source Code

//package com.java2s;
/***//from  w w w . j a va2s .c  o m
 **
 ** This library is free software; you can redistribute it and/or
 ** modify it under the terms of the GNU Lesser General Public
 ** License as published by the Free Software Foundation; either
 ** version 2.1 of the License, or (at your option) any later version.
 **
 ** This library is distributed in the hope that it will be useful,
 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 ** Lesser General Public License for more details.
 **
 ** You should have received a copy of the GNU Lesser General Public
 ** License along with this library; if not, write to the Free Software
 ** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 **
 **/

public class Main {
    public static String[] deQuoteStringArray(String... quoted) {
        for (int i = 0; i < quoted.length; i++) {
            quoted[i] = quoted[i].substring(1, quoted[i].length() - 1);
        }
        return quoted;
    }
}

Related

  1. dequoteIdentifier(String id)
  2. dequoteString(String s)
  3. dequoteString(String str)
  4. dequoteString(String str)
  5. dequoteString(String strVal)