Using indexOf('ÿ')// char for Unicode 255 for example, doesn't work. Probably because indexOf() needs the Unicode to be less than 127, maybe?.
Anyway, I have a big string array from an Ajax binary. I need to find every occurrence of a byte sequence, let's say the sequence is: 255,251,178. Each occurrence's location (loc of the 255 in the sequence) should then be pushed into an array to create this: arr[0]=1st sequence occurrences location arr[1]=2nd sequence occurrences location etc. The search through the string should be able to start at a specified offset. My problem is I can't even get indexOf() to detect the char for unicode 255.
Any help would be appreciated, greatly.
Pat