using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); // Use {s(1)} to get just the text inside the quotes t.FromTo("msg = {@String:s}", "{s(1)}"); string input = """ msg = "Welcome to uCalc!" """; Console.WriteLine(t.Transform(input));