{@Doc}
ID: 207
using uCalcSoftware;
var uc = new uCalc();
var t = uc.NewTransformer();
t.FromTo("a test", "'{@Self}' is part of: '{@Doc}'");
// Note: .Str(0) here is a shortcut for .Matches().Str(0)
Console.WriteLine(t.Transform("This sentence is just a test").Str(0));
'a test' is part of: 'This sentence is just a test' using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); t.FromTo("a test", "'{@Self}' is part of: '{@Doc}'"); // Note: .Str(0) here is a shortcut for .Matches().Str(0) Console.WriteLine(t.Transform("This sentence is just a test").Str(0));
#include
#include "uCalc.h"
using namespace std;
using namespace uCalcSoftware;
int main() {
uCalc uc;
auto t = uc.NewTransformer();
t.FromTo("a test", "'{@Self}' is part of: '{@Doc}'");
// Note: .Str(0) here is a shortcut for .Matches().Str(0)
cout << t.Transform("This sentence is just a test").Str(0) << endl;
}
'a test' is part of: 'This sentence is just a test' #include <iostream> #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); t.FromTo("a test", "'{@Self}' is part of: '{@Doc}'"); // Note: .Str(0) here is a shortcut for .Matches().Str(0) cout << t.Transform("This sentence is just a test").Str(0) << endl; }
Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Dim t = uc.NewTransformer()
t.FromTo("a test", "'{@Self}' is part of: '{@Doc}'")
'// Note: .Str(0) here is a shortcut for .Matches().Str(0)
Console.WriteLine(t.Transform("This sentence is just a test").Str(0))
End Sub
End Module
'a test' is part of: 'This sentence is just a test' Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() t.FromTo("a test", "'{@Self}' is part of: '{@Doc}'") '// Note: .Str(0) here is a shortcut for .Matches().Str(0) Console.WriteLine(t.Transform("This sentence is just a test").Str(0)) End Sub End Module