NewStr

Method

Returns the new string a match was changed to

SDK version: 

5.7.0-preview.3 8/14/2026

Product: 

Class: 

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.

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

This page last modified on: 

8/7/2026