def cleanse_string()

in components/processing/libs/processor-xlsx/src/processors/xlsx/xlsx_processor.py [0:0]


def cleanse_string(c):
    c = str(c)
    c = c.replace("|", "\\|")
    c = c.strip()
    if "\n" in c:
        return c.split("\n")
    return c