occurences

How to change highlighted occurences color in Eclipse's sidebar?

When you have "Mark occurences" enabled in Eclipse, placing the cursor on any type/variable/method/etc will highlight all occurences in the text editor and place a faint bar in the right ruler to show you the location of other occurences in the file. Does anyone know where in the Preferences you can change what color is used to highligh...

Replace occurences of NSString - iPhone

Hi everyone, I have a long NSString in which I m trying to replace special characters. Part of my string looks like this: "veau (c\u00f4telette)","veau (filet)","agneau (gigot)","agneau (c\u00f4telette)","b*\u0153*uf (hach\u00e9)","porc (hach\u00e9)" I would like to replace all the \u0153 with "oe". I ve tried: [response stringByRepla...

How to count the occurrences of a string inside TEXT datatype in sql server 2005

There is a column of datatype TEXT in my table. Now, I need to find the number of occurrences of a string in that TEXT field. I have already created a Full-text index on that table. But I don't know how to proceed further. I already found ways to count string occurrences for VARCHAR. But they cannot be applied AS IS to TEXT field. Any s...