js/calc.js
/**
 * Removes quotes from beginning and end of the input String.
 * @param input String to remove the quotes from.
 * @return String with removed quotes characters from the beginning and end of input String. 
 * */
Removes quotes from beginning and end of the input String.
@param input String to remove the quotes from.
@return String with removed quotes characters from the beginning and end of input String.
Removes quotes from beginning and end of the input String . @param input String to remove the quotes from . @return String with removed quotes characters from the beginning and end of input String .
function stripStringQuotes(input)
{
	var rs;
	var len = input.length;
	if ((input.substr(0, 1) == "'" && input.substr(len - 1, 1) == "'")
		|| (input.substr(0, 1) == "\"" && input.substr(len - 1, 1) == "\""))
	{
		rs = input.substring(1, len - 1);
	}
	return rs;
}
function stripStringQuotes ( input ) { var rs ; var len = input . length ; if ( ( input . substr ( 0 , 1 ) == "'" && input . substr ( len - 1 , 1 ) == "'" ) || ( input . substr ( 0 , 1 ) == "\"" && input . substr ( len - 1 , 1 ) == "\"" ) ) { rs = input . substring ( 1 , len - 1 ) ; } return rs ; }
Removes quotes from beginning and end of the input String.
Removes quotes from beginning and end of the input String .