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