jodd-core/src/main/java/jodd/util/StringUtil.java
public static String removeQuotes(final String string) {
		if (
			(startsWithChar(string, '\'') && endsWithChar(string, '\'')) ||
			(startsWithChar(string, '"') && endsWithChar(string, '"')) ||
			(startsWithChar(string, '`') && endsWithChar(string, '`'))
		) {
			return substring(string, 1, -1);
		}
		return string;
	}
public static String removeQuotes(final String string) {
		if (
			(startsWithChar(string, '\'') && endsWithChar(string, '\'')) ||
			(startsWithChar(string, '"') && endsWithChar(string, '"')) ||
			(startsWithChar(string, '`') && endsWithChar(string, '`'))
		) {
			return substring(string, 1, -1);
		}
		return string;
	}
public static String removeQuotes ( final String string ) { if ( ( startsWithChar ( string , ' ' ) && endsWithChar ( string , ' ' ) ) || ( startsWithChar ( string , ' ' ) && endsWithChar ( string , ' ' ) ) || ( startsWithChar ( string , ' ' ) && endsWithChar ( string , ' ' ) ) ) { return substring ( string , 1 , - 1 ) ; } return string ; }
Removes starting and ending single or double quotes.
Removes starting and ending single or double quotes .