code: def _nth(lst, n=1):
      
      n = StringValue(n).value
      lst = ListValue(lst).value
      try:
          n = int(float(n)) - 1
          n = n % len(lst)
      except:
          if n.lower() == 'first':
              n = 0
          elif n.lower() == 'last':
              n = -1
      try:
          ret = lst[n]
      except KeyError:
          lst = [v for k, v in sorted(lst.items()) if isinstance(k, int)]
          try:
              ret = lst[n]
          except:
              ret = ''
      return ret.__class__(ret)
docs: Return the Nth item in the string