def excelFormatting(text): if text is None: text = "" if text.strip() != "": text = utils.utf8Tolatin1(text) text = text.replace("\x0d", "") return text
def excelFormatting(text): if text is None: text = "" if text.strip() != "": text = utils.utf8Tolatin1(text) text = text.replace('\x0d', '') return text
def excelFormatting(text): if text.strip() != "": text = utils.utf8Tolatin1(text) text = text.replace('"', '""') text = "\"%s\"" % text return text
def excelFormatting(text): if text.strip()!="": text=utils.utf8Tolatin1(text) text=text.replace('"','""') text="\"%s\""%text return text