Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3992

Properly escaping a string with double quotes and semicolons

$
0
0

I need to check a line read from a file against the following string:

“Buchungstag”;“Umsatztag”;“Vorgang”;“Referenz”;“Buchungstext”;“Umsatz in EUR”;

I already found out that this

strTableHeaderLine = """Buchungstag"""

works and gives me “Buchungstag” as expected result. But this throws an error:

strTableHeaderLine = """Buchungstag";""""

However, constructing the string like this:

strTableHeaderLine = """Buchungstag""" + ";"

works. But is there another way to escape the " and ; signs in the string without re-constructing with + ?

7 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 3992

Trending Articles