using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); // Implicitly set the Text property by assigning a string to the object t = "user=admin; level=9; theme=dark;"; // Define a rule to extract the user value t.FromTo("user={name};", "Username: {name}"); t.Transform(); // Implicitly get the Text property by using the object in a string context string result = t; Console.WriteLine(result);