uCalc API Version: 5.7.0-preview.1 Released: 7/30/2026
Warning
uCalc API Preview Release Notice:This preview documentation describes the intended behavior of the API. It is not fully accurate or complete.The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.Use of the preview version in your production code is not recommended.
Product:
Class:
Returns a new uCalc String object
New uCalc string object
Mostly for internal use.
Creates a new string instance in the space of the uCalc instance it is being called from. This method is called from the uCalc.String constructor. You may want to use that instead.
The following two C# lines are equivalent:
var MyString = new uCalc.String();var MyString = uCalc.GetDefaultInstance().NewString();
and so are:
var MyString = new uCalc.String("Hello world");var MyString = uCalc.GetDefaultInstance().NewString("Hello world");
as well as:
var MyString = new uCalc.String("Hello world", uc);var MyString = uc.NewString("Hello world"); // Where uc is a defined uCalc instance