| 
	
		
		
			
			 
				
				[JAVA] simple string conversion
			 
			 
			
		
		
		i need a method that will take a string like  
 
blah_blah_blah_(stuff).stuff 
 
and turn it into 
 
"blah blah blah" 
 
with the quotes and everything. 
 
I can't use anything based on the positions of the unwanted characters because they're different for each line (except for the extension which isn't always 3 characters anyway).  So basically, I need to seek out underscores and change them to spaces, and cut the string short at the first parentheses.  I can just concatonate (sp?) the quotes in there later.  Thanks for any help in advance. 
		
		
		
		
		
			
				__________________ 
				Mechanical Engineers build weapons.  Civil Engineers build targets.
			 
		
		
		
		
	 |