NewStr

Method

Returns the new string a match was changed to

Product: 

Class: 

Warning

uCalc API Preview Release Notice:The uCalc engine has successfully transitioned to modern cross-platform environments.The next phase envolves some structural changes, performance optimizations, and API refinements.The API is subject to breaking changes prior to the stable release. Please evaluate the preview version thoroughly before production use.

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/21/2026