Identifying any quote character and replacing it with a visible tag.

ID: 906

				
					using uCalcSoftware;

var uc = new uCalc();
var t = new uCalc.Transformer();
t.FromTo("{@QuoteChar}", "[Q]");

Console.WriteLine(t.Transform("""
"Double" and 'Single'
"""));
				
			
[Q]Double[Q] and [Q]Single[Q]
				
					#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   uCalc::Transformer t;
   t.FromTo("{@QuoteChar}", "[Q]");

   cout << t.Transform(R"("Double" and 'Single')") << endl;
}
				
			
[Q]Double[Q] and [Q]Single[Q]
				
					Imports System
Imports uCalcSoftware
Public Module Program
   Public Sub Main()
      Dim uc As New uCalc()
      Dim t As New uCalc.Transformer()
      t.FromTo("{@QuoteChar}", "[Q]")
      
      Console.WriteLine(t.Transform("""Double"" and 'Single'"))
   End Sub
End Module
				
			
[Q]Double[Q] and [Q]Single[Q]