Jump to content

Recommended Posts

Posted

A real easy one for you guys. Our paths for clients are identical to the following, so How to extract "16177" for the path below and save it to a variable? the "16177" will always be a 5 digit number and the path just before it "G:\\329_00\\AA\\" has the same number of digits.

 

"G:\\329_00\\AA\\16177\\QQ1111\\CLIENT\\"

 

Not really sure how to go about this.

 

Thanks,

Posted
(substr "G:\\329_00\\AA\\16177\\QQ1111\\CLIENT\\" 14 5)

Posted

Thanks Lee Mac. Much appreciated.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...