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

def GetPhraseQueryNodeText ( node ) : text = GetQueryNodeText ( node ) if text : if ( ( text [ 0 ] == '"' ) and ( text [ ( - 1 ) ] == '"' ) ) : text = text [ 1 : ( - 1 ) ] return text
returns the text from a query node .