Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hi I have a string in a variable vCourseFamily 'abc', 'def','hhh' . I want to remove the last part of the string 'hhh' from the string. Kindly suggest.
Thanks!
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		May be this
=Concat({<CourseFamily -= {'hhh'}>} DISTINCT chr(39)&'*' & [CourseFamily]&chr(39) , ', ')
 
					
				
		
 settu_periasamy
		
			settu_periasamy
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
What is your expression for the variable vCourseFamily?
 
					
				
		
=Concat(DISTINCT chr(39)&'*' & [CourseFamily]&chr(39) , ', ')
 
					
				
		
 settu_periasamy
		
			settu_periasamy
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		do you want to remove the last 3 characters? or it would by dynamic one?
Can you just post small qv app with output?
 
					
				
		
I want any occurrence of the word 'hhh' in the above string to be removed
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		May be this
=Concat({<CourseFamily -= {'hhh'}>} DISTINCT chr(39)&'*' & [CourseFamily]&chr(39) , ', ')
 
					
				
		
 richard_chilver
		
			richard_chilverIn your CONCAT, can you not ignore [CourseFamily] whenever it contains 'hhh' ?
 
					
				
		
Thanks Sunny!
