Archive: Escaping ; (Semicolon)


Escaping ; (Semicolon)
Hi all,

i need to write a connectionString like


<?xml version="1.0" encoding="utf-8"?>

<connectionStrings>

<add name="CoreConnectionString" providerName="System.Data.SqlClient"
connectionString=" server=localhost;database=DB;uid=UserID;pwd=Password;application ame=AppName;persist security info=True;packet size=4096" />
</connectionStrings>


how can i escape the ; so it doesnt remark the rest of my line of FileWrite ?


FileWrite $0 " connectionString=$\"server=localhost;"


Thanks.

Forget it, i forgot to escape a " prior to the ; now it seems to work.