{@Stop}

ID: 209

See: {@Stop}
				
					using uCalcSoftware;

var uc = new uCalc();
var t = uc.NewTransformer();

// without {@Stop} "end" wouldn't be a match
t.FromTo("StopAt {abc} {@Stop} end", "<{abc}>");
t.FromTo("end", "[The End]");

Console.WriteLine(t.Transform("StopAt a b c end"));

				
			
<a b c> [The End]
				
					#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   auto t = uc.NewTransformer();

   // without {@Stop} "end" wouldn't be a match
   t.FromTo("StopAt {abc} {@Stop} end", "<{abc}>");
   t.FromTo("end", "[The End]");

   cout << t.Transform("StopAt a b c end") << endl;

}
				
			
<a b c> [The End]
				
					Imports System
Imports uCalcSoftware
Public Module Program
   Public Sub Main()
      Dim uc As New uCalc()
      Dim t = uc.NewTransformer()
      
      '// without {@Stop} "end" wouldn't be a match
      t.FromTo("StopAt {abc} {@Stop} end", "<{abc}>")
      t.FromTo("end", "[The End]")
      
      Console.WriteLine(t.Transform("StopAt a b c end"))
      
   End Sub
End Module
				
			
<a b c> [The End]