Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: FanOfHumor on Wed 27/07/2022 21:31:54

Title: (solved)Display quote marks within a string.
Post by: FanOfHumor on Wed 27/07/2022 21:31:54
It seems like i've heard somewhere of how to to this but I can't remember where.All I need is to allow showing the quotes in this.
output.WriteRawLine("script1="king01.txt" run=1");
Title: Re: Display quote marks within a string.
Post by: Crimson Wizard on Wed 27/07/2022 21:43:42
This is done by "escaping" with the back slash: \"

Code (ags) Select

String s = "script1=\"king01.txt\" run=1";