Results 1 to 3 of 3

Thread: Cutting characters

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    162

    Cutting characters

    Ahh got my head into a bit of a spin

    Can anyone tell me how to cut off the first character from this

    "C:\Program Files\Winamp
    I'm just trying to get rid of the "

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    162
    Right(Dirname, Len(Dirname) - 1)

    got it

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    You can also use:

    Mid$ (Dirname, 2)


    It's a bit faster.. although it won't make much difference unless you run it a few hundred times!

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