def RemoveSurroundingQuotes(text):
 if text:
  if ((text[0] == '"') and (text[(-1)] == '"')):
   text = text[1:(-1)]
 return text

def RemoveSurroundingQuotes ( text ) : if text : if ( ( text [ 0 ] == '"' ) and ( text [ ( - 1 ) ] == '"' ) ) : text = text [ 1 : ( - 1 ) ] return text
removes outer quotation marks .