Do not use on any
shared computer
September 7, 2008 01:02am pdt
 
[x]
Attachment Details

Handling files based on value

I have files with names such as

address_change__customer_request__111.pdf
address_change__corres_in__111.pdf
address_change__signature_card__222.pdf
address_change__customer_request__222.pdf
address_change__corres_in__222.pdf


Double underscore (__), differnetiates differnet parts of the file name.
Part1 --> value before first __ (example, address_change)
Part2 --> value after first __  and before second__ (example, customer_request, corres_in)
Part3 --> value after second __ (example, 111, 222)

I am able to read the file names and get the values for Part1, Part2 and Part3.
The file names with similar Part3 need to be handled in the same way. Example, files 1 and 2, need to be handled differently from files 3,4 and 5.

Please let me know how can I distinguish files based on Part3.
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: rin_r
Question Asked On: 05.06.2008
Participating Experts: 3
Points: 250
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by krakatoa

Rank: Guru

Expert Comment by krakatoa:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by krakatoa

Rank: Guru

Expert Comment by krakatoa:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by rin_r
Author Comment by rin_r:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by krakatoa

Rank: Guru

Expert Comment by krakatoa:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by rin_r
Author Comment by rin_r:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by krakatoa

Rank: Guru

Expert Comment by krakatoa:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by rin_r
Author Comment by rin_r:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by rin_r
Author Comment by rin_r:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by krakatoa

Rank: Guru

Expert Comment by krakatoa:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by rin_r
Author Comment by rin_r:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by krakatoa

Rank: Guru

Expert Comment by krakatoa:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by thomas908

Rank: Master

Expert Comment by thomas908:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by CEHJ

Rank: Genius

Expert Comment by CEHJ:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by CEHJ

Rank: Genius

Expert Comment by CEHJ:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by rin_r
Author Comment by rin_r:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by CEHJ

Rank: Genius

Expert Comment by CEHJ:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628