+ Reply to Thread
Results 1 to 3 of 3

mid function

  1. #1
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    162

    mid function

    hi guys,
    i have this information where i have to pull the code, but i dont know which is the best way to do it, here it is:

    'Job:C:\Program Files\Thermwood\eCabinet Systems\Jobs\20732_1 Tester.esj

    what i want to do is get the number out of it so 20732_1, so really i want to come from the right and search for ("\"), so is this possible using a mid search function or can i only come from the left. is there a way i can use the right function to do this.

    Thanks

    Leigh Mills

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by leighmills33
    hi guys,
    i have this information where i have to pull the code, but i dont know which is the best way to do it, here it is:

    'Job:C:\Program Files\Thermwood\eCabinet Systems\Jobs\20732_1 Tester.esj

    what i want to do is get the number out of it so 20732_1, so really i want to come from the right and search for ("\"), so is this possible using a mid search function or can i only come from the left. is there a way i can use the right function to do this.

    Thanks

    Leigh Mills
    Hi,

    If the Job number is always 7 characters, and it always follows the 5th occurrence of a '\" then use:

    Please Login or Register  to view this content.
    If not this will need modifying, in which case post back.

    Rgds

  3. #3
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    162
    thanks great thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1