def getRightStripMinusSplit(lineString):
 oldLineStringLength = (-1)
 while (oldLineStringLength < len(lineString)):
  oldLineStringLength = len(lineString)
  lineString = lineString.replace('- ', '-')
 return lineString.split()

def getRightStripMinusSplit ( lineString ) : oldLineStringLength = ( - 1 ) while ( oldLineStringLength < len ( lineString ) ) : oldLineStringLength = len ( lineString ) lineString = lineString . replace ( '- ' , '-' ) return lineString . split ( )
get string with spaces after the minus sign stripped .