delphi - Word wrap in TMemo at a plus (+) char -


in string have plus (+) char.

for example, string

__viewstate=/wepdwulltiwmty5ndmymdapzbyczg9kfgicaq9kfgxmd2qwamypfgiec18hsxrlbunvdw50agmwbgibd2qwamypfqeipg5vyni+phnwyw4+0jlrhdc+0lq8l3nwyw4+pc9ub2jypmqcaw9kfgjmdxubtdxub2jypjxhighyzwy9j3npz251cc5hc3b4jyb0yxjnzxq9j19zzwxmjz7qonc10lpqungb0ylrgncw0ybqungppc9hpjwvbm9icj5kagupzbyczg8vauk8bm9icj48ysbocmvmpsdhym91dc5hc3b4jyb0yxjnzxq9j19zzwxmjz7qmnc90ytqvtga0lzqsngg0ljrjzwvyt48l25vyni+zaicd2qwbaibdxychwacbrykzg9kfgjmdxubhjxsat48yj7qmtc

now add line memo1 , this:

wtf

delphi inserts new line @ random places. i`m try remove lines break:

viewstate:=stringreplace(viewstate, #10#13, ' ', [rfreplaceall]); viewstate:=stringreplace(viewstate, #13#10, ' ', [rfreplaceall]); viewstate:=stringreplace(viewstate, #10, ' ', [rfreplaceall]); viewstate:=stringreplace(viewstate, #13, ' ', [rfreplaceall]); 

but it`s no result. it?

p.s. i`m russia, sorry bad english.

delphi isn't adding linebreaks. memo adding visual soft-breaks @ separator characters (such +). sent memo's wordwrap property false , should resolve problem.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -