Doesn't java have a replace() funtion? Or if you need to dump the rest after the last underscore there should be like an instr() function you could use in conjunction with a simple loop to solve your problem.
__________________
"Hope is for people that don't stand a chance."
|