R 
		
								
				
				
			
		Ranjith Kurian
i need a excel function to remove the character from right, and its been
identified by the symbol "-", example as shown below
QUESTION:
Code
123-ibb
US456-europ
UKASDGG-1234HR
ANSWERS:
Code
123
US456
UKASDGG
				
			identified by the symbol "-", example as shown below
QUESTION:
Code
123-ibb
US456-europ
UKASDGG-1234HR
ANSWERS:
Code
123
US456
UKASDGG
