Results 1 to 2 of 2

Thread: easy mate, just mundane code

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Location
    Shropshire, England
    Posts
    14

    Red face

    try using the mid() with a counter going backwards, that looks for the "\", once found then cut using the mid() command

    OK
    Were all drowning!

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    try

    Code:
    MsgBox Left(TestString, InStrRev(TestString, "\") - 1) & Mid(TestString, InStrRev(TestString, "\") + 1)

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