vb.net hapus char terakhir dari string

temp = temp.Trim().Remove(temp.Length - 1)
Uninterested Unicorn