2010/9/7 Lukasz Sokol <[email protected]>: > Hi Group, > > How should the TStringList behave when > > Delimiter := ' '; > QuoteChar := '"'; > > ? > > On my > > Lazarus 0.9.28.2 r22279 FPC 2.2.4 i386-win32-win32/win64 > > when reading a line like this > > Sep 3 16:27:32 router_ip src="internal IP:46987" dst="external_ip:64880" > msg="Traffic Log" note="Traffic Log" devID="0019CBDF94A3" cat="Traffic Log" > duration=300 send=168 rcvd=48 dir="LAN:WAN" protoID=17 proto="others" > trans="Normal" > > {the above should be one line} > > I will obviously get the date split in 3 different Strings[], > !but! it also splits the 'msg="Traffic' and 'Log"' - is this correct ? >
Maybe StrictDelimiter is true? http://www.freepascal.org/docs-html/rtl/classes/tstrings.strictdelimiter.html Vincent -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
