예제 #1
0
 def confirmation_number(self):
     conf = coalesce(self.web_confirmation_number, "")
     loc = conf.find(".")
     return default_slice(self.web_confirmation_number, 0, loc, None)
예제 #2
0
 def split_number(self):
     conf = coalesce(self.web_confirmation_number, "")
     loc = len(conf) - conf.find(".")
     return default_slice(self.web_confirmation_number, loc, len(conf), None)