2 Replies Latest reply on Oct 17, 2007 4:54 PM by schefz

    Truncating last character in a string

    schefz Level 1
      I am making a dialpad. It is just for display so I am using a string for the numbers selected. I am trying to make a back button that would clear the last number added. I tried mystring.length-1 but that doesn't seem to be doing the trick. Is there a simple way to truncate the last character in a string, of variable length??