Hi,
I want to display first 1000 characters of a string (literals are replaced
by special symbol). I am using pcre library to replace the literal. After
replacing every literal I am checking for the length of the string and if
it is 1000 then stop matching and display the string.
My problem is,
Hi,
I am not sure I totally understand your mail. You have a string, which length
is 1G, and you want to display the first 1000 characters, and replace literals
(characters?) with another symbol, is that correct? Why do you need pcre for
this purpose? A simple loop which checks every character