| 
			
			 | 
		#1 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 374 
				Karma: 1408579 
				Join Date: Jul 2012 
				Location: UK 
				
				
				Device: Kindle Touch, Ipod Touch, Ipad Air 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Custom Column Icon Help
			 
			
			
			Hi, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have a custom column which is configured for long text like comments. I use this column to keep track of what i have done with that book, mainly Read of Reading. I am trying to put a custom icons in this column to replace the text. eg an open book for reading and a closed book for Read. The problem i am having is that when i set the icon to match the word read it also picks up on the word Reading. Is there any way to restrict it to just Read and not the word Reading.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525 
				Karma: 8065948 
				Join Date: Jan 2010 
				Location: Notts, England 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You should use the "pattern" match with a regular expression. Although it isn't possible to say what regexp to use without knowing all the possible text structures in the column, the general approach is to use a pattern that matches only "read". Perhaps you could match "read" at the end of the string (read$), or "read" not followed by an i (read[^i]), or use two contains conditions to check read and not reading.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 374 
				Karma: 1408579 
				Join Date: Jul 2012 
				Location: UK 
				
				
				Device: Kindle Touch, Ipod Touch, Ipad Air 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks (read[^i]) worked great.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Problem with Tag Browser Custom Icon for Languages | MartyTX | Library Management | 1 | 02-03-2013 04:44 AM | 
| how to move value(s) of tag column to a custom made column | zoorakhan | Library Management | 0 | 12-08-2012 04:53 AM | 
| custom date column from two state column | Dopedangel | Library Management | 7 | 01-03-2012 09:20 AM | 
| Can custom book data be displayed in a custom column? | kiwidude | Development | 9 | 03-02-2011 06:35 AM | 
| Custom Icon Issues | allovertheglobe | iRex | 0 | 10-26-2008 04:40 PM |