Generates prefixes/suffixes in a short form to parse and remove some redundancy

def generate_add_sub(self):
        ''' Generates prefixes/suffixes in a short form to parse and remove some redundancy '''
        # Prefix or Suffix
        affix_type = 'p:' if self.opt == "PFX" else 's:'
        remove_char = '-' + self.char_to_strip if self.char_to_strip != '' else ''

        return affix_type + remove_char + '+' + self.affix