def getReplaced(exportText):
 replaceText = settings.getFileInAlterationsOrGivenDirectory(os.path.dirname(__file__), 'Replace.csv')
 if (replaceText == ''):
  return exportText
 lines = archive.getTextLines(replaceText)
 for line in lines:
  splitLine = line.replace('\\n', ' DCTB ').split(' DCTB ')
  if (len(splitLine) > 1):
   exportText = exportText.replace(splitLine[0], '\n'.join(splitLine[1:]))
 return exportText

def getReplaced ( exportText ) : replaceText = settings . getFileInAlterationsOrGivenDirectory ( os . path . dirname ( __file__ ) , 'Replace.csv' ) if ( replaceText == '' ) : return exportText lines = archive . getTextLines ( replaceText ) for line in lines : splitLine = line . replace ( '\\n' , ' DCTB ' ) . split ( ' DCTB ' ) if ( len ( splitLine ) > 1 ) : exportText = exportText . replace ( splitLine [ 0 ] , '\n' . join ( splitLine [ 1 : ] ) ) return exportText
get text with strings replaced according to replace .