Skip to content

Double quotes in replace #189

Answered by EvgSkv
Stetsyk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Stetsyk ,
there is no string escaping and no single quotes just yet.
So quote symbol has to be specified via code. For example if using BiqQuery it's SqlExpr("Chr(34)", {}) and if using SQLite it's SqlExpr("Char(34)", {}).
Example of using in context:

Text() = """
"The sun will rise", they said.
""";

ReplacedText() = Replace(Text(), SqlExpr("Chr(34)", {}), "");

Let me know if you have further questions and if it's a large hurdle for your usecase.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Stetsyk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants