Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there any option to ignore the \” sequences inside strings ( back slash character )?

0
Posted

Is there any option to ignore the \” sequences inside strings ( back slash character )?

0

The exEdit 1.0.3.4 introduces the IgnorePrefixInExpression property that specifies a collection of prefixes that are ignored inside an expression. For instance if we have defined an expression for strings like follows: With Edit1 .AddExpression ““”“, _ “ “, _ ““”“, _ True End With In this case we have defined the expression “. So, if the user types in the control the text: ‘This is a string “this is a quote \” bla … bla \” “‘ the control displays the line like follows: ‘This is a string “this is a quote \” bla … bla \” “‘ , but we want to ignore \” expressions. In this case we need to use the following code: With Edit1 .AddExpression ““”“, _ “ “, _ ““”“, _ True .IgnorePrefixInExpression(“”””) = “\” End With In this case, if the user types: ‘This is a string “this is a quote \” bla … bl

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123