def split_get_last(str_to_split, character, index = 0)
      arrtmp = str_to_split.split(character)
      if index == -1
        arrtmp
      else
        index = index == 0 ? arrtmp.length - 1 : index
        strtmp = arrtmp[index]
        strtmp
      end
    end
def split_get_last(str_to_split, character, index = 0)
      arrtmp = str_to_split.split(character)
      if index == -1
        arrtmp
      else
        index = index == 0 ? arrtmp.length - 1 : index
        strtmp = arrtmp[index]
        strtmp
      end
    end
split string and get last
 index for
 -1 -> return all array
  0 -> return last obj in array
  >=1 -> return obj on array[index]