Improving an easy code RRS feed

  • Question

  • int p = nums.Length;
    nums = nums.Substring(0,p-1);
    textBox1.Text = (nums);

    Hi, i want to take an string and take out the last character of it, i wrote this and i know there is a much easier way to do this.

    Monday, December 2, 2019 2:16 PM