Results 1 to 3 of 3

Thread: [RESOLVED] Remove the last letter of a string

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2005
    Posts
    376

    Resolved [RESOLVED] Remove the last letter of a string

    Hi, Can someone help me with the code to remove the last letter in a string.

    thanks

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Remove the last letter of a string

    Sure.
    VB Code:
    1. str = left(str,len(str)-1)

  3. #3
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Remove the last letter of a string

    or if just want the last letter
    str = Right(str,1)
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width