Skip to Content
0
Former Member
Jan 06, 2013 at 02:34 PM

How can I find a 'FF' or 'CR'

54 Views

I am reading in text files to populate DataWindows.

When reading a line with FileRead or FileReadEx, CR's and LF's are dropped and the text line data is returned properly.

However, if a CR (0d) followed by a LF (0a) and a FF (0c), the FF is also dropped. This is not according to PB Help.

How can I detect the FF's so I can create a new page.

I need to also detect random CR's.

I have tried a zillion things, even going back to Funcky32 with no luck.

How can I read and detect a HEX character, specifically, FF's and possibly CR's when reading a text file?

PB 12.5