On Thursday, 19 April 2018 at 21:57:28 UTC, Adam D. Ruppe wrote:
On Thursday, 19 April 2018 at 21:53:52 UTC, Joel wrote:
I have a program that uses string double quotes, but copies from wstring double quotes. The wstring double quotes are in string type (sourceTxt is a string with wstring double quotes).

quotes are quotes, you don't need to convert to wstring here.

I really don't think it should be throwing that error regardless... but you also should be able to just do

string[] sourceLines = sourceTxt.replace("”", `"`).split("\n");

and skip the wstring part entirely.

That worked! Thanks Adam.

Reply via email to