Thread: Long String
View Single Post
  #2 (permalink)  
Old 08-06-2008, 08:23 AM
Cableguy's Avatar
Cableguy Cableguy is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,466
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

You have quotes inside your string...
So when you have A="this is a "Quote"" you should use A= "This is " & Chr(34) & "Quote" & chr(34)


Kopf = "<?xml version=" & Chr(34) & "1.0" & Chr(34) & "encoding=" & Chr(34) & "UTF-8" & Chr(34) & "?>" & crlf & - This forces the line break
"<kml xmlns=" & Chr(34) & "http://earth.google.com/kml/2.1" & Chr(34) & ">" & crlf &
"<Document>" & crlf &
"<Placemark>" & crlf &
"<name>CDATA example</name>" & crlf &
"<description>"
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing

Last edited by Cableguy : 08-06-2008 at 08:29 AM.
Reply With Quote