Memerystream. Postion:=0;
Tembeddedwb. Loadfromstream (memerystream);
If Tembeddedwb. Searchstring (' some ') then
The begin
.
end;
Cannot perform the begin and end in the code segment,
In addition, is there a on each master Tembeddedwb control function of the instructions, thank you!
CodePudding user response:
MemerystreamThe Write
You have to write things in the memory stream?
Purely to eliminate zero reply
CodePudding user response:
Memo shows HTMLCode give it a tryCodePudding user response:
Memorystream memory stream wrote, but still can't Searchstr,Htmlcode looked at also no problem,
Now I'm flexible processing, converting memorystream stringstream, then write a pattern matching search algorithm,
Solved the problem, but new problems again, some HTMLCODE GB2312 decoding method, some HTMLCODE is UTF8 decoding way, and my pattern matching search algorithm with ansitoUTF8 conversion function for unity, so some of the UTF8 encoding is still cannot use pattern matching method is to find, I want to convert HTMLCODE unity to UTF8 encoding schema matching again, do excuse me each warrior HTMLCODE turn UTF8 function,