Message Boards Message Boards

0
|
6224 Views
|
4 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Extract and use numbers inside the file name?

Posted 4 years ago

Hello. I wonder to find a solution for this issue: lets suppose there is a file in this path:

/pros/mypro/raps/vy/dh/bgh.12mm15mm10nm.dat"

Now: I want to write a code to find 12mm, 15mm, and 10nm, and then convert them to mm and then calculate 12mm15mm(10*10^6)mm and gives the answer. Thanks a lot for your time and help. Best regards. Mohammad.

4 Replies

If the file exist on internet and the path is like: "http//....com/Files/...." What will change and how? Thanks in advance.

Posted 4 years ago

Use URLParse to extract the path.

POSTED BY: Rohit Namjoshi

Dear Estevao Teixeira .

This code is really what I needed.

I am so glad and I really appreciate your help.

Thanks a lot. Best regards. Mohammad.

Hi, Mohammad, I hope that this is what you wanted:

POSTED BY: Estevao Teixeira
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract