substring in chores and bill