uCalc API Version: 2.1.3-preview.2 Released: 6/16/2026

Warning

uCalc API Preview Release Notice:The documentation describes the intended behavior of the API. The current preview build contains incomplete features, unoptimized performance, and is subject to breaking changes.

NewStr

Method

Product: 

Transformer Library

Class: 

Matches

Returns the new string a match was changed to

Syntax

NewStr(int)

Parameters

Index
int
Index of match

Return

string

String value

Remarks

[revisit this]This returns the new string that a match was changed to. For instance if you do a transformation operation that changes all occurrences of "This" in a string to "That", then NewStr(n) would return "That".

Examples