code: def _truncate(value, arg):
          
          length = int(arg)
          if value is None:
              value = ""
          if len(value) > length:
              return value[:length] + "..."
          else:
              return value
docs: Truncates a string after a given number of chars
          Argument: Number of chars to _truncate after