VB.Net - Delete the last character from a string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joca
    New Member
    • Jul 2008
    • 10

    VB.Net - Delete the last character from a string

    This is probably something easy to do, but i'm trying to erase the last character from a string, for example:
    "Cats" into "Cat"

    Does anyone have any idea on how to do that?
    Thanks in advance.
  • Joca
    New Member
    • Jul 2008
    • 10

    #2
    Nevermind, i found out on my own, stringname.remo ve(x,y) did the trick.

    Comment

    • joedeene
      Contributor
      • Jul 2008
      • 579

      #3
      Originally posted by Joca
      Nevermind, i found out on my own, stringname.remo ve(x,y) did the trick.
      that was a very quick second post, im sure you couldve googled this question and many results came up, in about 20 minutes you posted an answer to your own question, please google for simple questions before asking them.

      POSTING GUIDELINES

      Comment

      Working...