def parse_string(text):
    if len(text) >= 2 and text[0] in ('"', "'") and text[-1] in ('"', "'"):
        text = text[1:-1]
    return text.strip()
Complete the XML node with `self` content.
dataset/ETHPy150Open kivy/kivy/kivy/parser.py/parse_string--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/ext/dataforms.py/Field.complete_xml_element