I have an array list that stores some files. These files are shown to the user. Depending on the index chosen i will input the file to the program.

There fore i write

//initialization
List projecList = new ArrayList(//........);

//body
 String getproject = projectList.get(index).toString();
           updatepd(getproject);

if i system.out.println() the getproject string i get
file:/C:/Program%20Files/testproject/example.alp

but i need
C:/Program Files/testproject/example.alp...without the %20

I would really appreciate any help
thanks
chipsncoke

I forgot one point I am Using URI's .

Thanks
Chipsncoke

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.