Normalizing mixed input by replacing any opening bracket style with a standard parenthesis.
ID: 929
See: {@Bracket}
using uCalcSoftware;
var uc = new uCalc();
var t = new uCalc.Transformer();
t.FromTo("{@Bracket}", "(");
Console.WriteLine(t.Transform("{ x + [ y ] }"));
( x + ( y ] } using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); t.FromTo("{@Bracket}", "("); Console.WriteLine(t.Transform("{ x + [ y ] }"));
#include
#include "uCalc.h"
using namespace std;
using namespace uCalcSoftware;
int main() {
uCalc uc;
uCalc::Transformer t;
t.FromTo("{@Bracket}", "(");
cout << t.Transform("{ x + [ y ] }") << endl;
}
( x + ( y ] } #include <iostream> #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; uCalc::Transformer t; t.FromTo("{@Bracket}", "("); cout << t.Transform("{ x + [ y ] }") << endl; }
Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Dim t As New uCalc.Transformer()
t.FromTo("{@Bracket}", "(")
Console.WriteLine(t.Transform("{ x + [ y ] }"))
End Sub
End Module
( x + ( y ] } Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t As New uCalc.Transformer() t.FromTo("{@Bracket}", "(") Console.WriteLine(t.Transform("{ x + [ y ] }")) End Sub End Module